You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by senthilkumar sivanandam <kr...@yahoo.com> on 2006/09/01 17:40:18 UTC

Re : 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>http://mycomp/maven2-repository/</url>
			</repository>
	</repositories>	



Here is the maven output. 
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/maven
-core-2.0.pom
5K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.
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@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re : Maven 2.0 repository configuration

Posted by Arnaud Bailly <ab...@oqube.com>.
senthilkumar sivanandam <kr...@yahoo.com> writes:

> 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>
        <mirrorOf>central</mirrorOf>
       <layout>default</layout>
<url>http://mycomp/maven2-repository/</url>
		</mirror>
</mirrors>	

regards,
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org