On 04/03/2012 01:02 PM, Stephen Connolly wrote:
best practice is *never* to put<repository>  in your pom.

best practice is to run a Maven Repository Manager (there are 3 good
ones: [in alphabetical order] archivia, artifactory, nexus)

best practice is to have those present a virtual repository that is an
aggregate of all the repositories you need.

Then in your settings.xml you do

<mirror>
   <id>my-mrm</id>
   <url>your virtual repository</url>
   <mirrorOf>*</mirrorOf>
</mirror>

Then Maven will only use your mirror. Fast builds, reliable builds,
reproducible builds, you have control over the infra.

Anything else is a path to folly


Thanks for pointing that out. That was the info I needed!

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

Reply via email to