I won't work out the settings.xml file - this change must apply to all.

Mgmt has asked specifically to disallow maven to down load
automatically.

 

-----Original Message-----
From: Gareth Western [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 3:06 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

Hi EJ,

Apologies if this has already been suggested (I've already deleted most
of
this thread), but have you tried adding the following to a file named "
settings.xml" in your ${user.home}\.m2 directory (e.g. "C:\documents and
settings\gareth\.m2\settings.xml"):

<settings>
 <mirrors>
   <mirror>
     <id>my-repo</id>
     <name>Internal mirror of
http://build.corp.upromise.com/mavenrepository
</name>
     <url>http://build.corp.upromise.com/mavenrepository</url>
     <mirrorOf>central</mirrorOf>
   </mirror>
 </mirrors>
</settings>

?

If you do that you shouldn't have to add anything to project POM
(although
it does rely on each user having a "settings.xml" with these settings in
it).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to