www.emsdn.com
Class Profile: Home »» Java [Java] under "Java" »»» Maven 2.0 repository configuration

Maven 2.0 repository configuration


Hi
How can I change my remote repository? I have already
tried the below configuration on maven 2.0.4 and it
seems be not working. Maven is still trying to connect
http://repo1.maven.org/maven2. I am not sure why this
happens. Please help me
Here is my pom configuaration:
<repositories>
<repository>
<id>local1</id>
<name>mycomp</name>
<layout>default</layout>
<url></url>
</repository>
</repositories>
Here is the maven output.
Downloading:
-core-2.0.pom
5K downloaded
Downloading:
pom
8K downloaded
Senthilkumar Sivanandam,
2540, Rosehall lane,
Aurora, IL-60504
Res No : 630 851 8693
Cell No : 847 722 4843
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org


No. 1# | By Developer Tags User at [2008-5-5] | size: 626 bytes

senthilkumar sivanandam <krsenthil (AT) yahoo (DOT) comwrites:

Hi

How can I change my remote repository? I have already

You cannot "change" the remote repository. You may however mirror the
repository named "central" so that all requests will be made to this
mirror instead of the set of real central repositories (and their
mirrors).

<mirrors>
<mirror>
<id>local1</id>
<name>mycomp</name>
<>central</>
<layout>default</layout>
<url></url>
</mirror>
</mirrors>

regards,



Java Hot!

Java New!


Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.375