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).

Reply via email to