The central repo has been undergoing significant load lately, most
likely the result of people crawling and attempting to download all 70GB
of it. I'd like to point out the availability of additional mirrors that
you can use to increase your download performance and reduce the load on
central. These mirrors are updated daily right after central pulls in
all the new artifacts, so they are as fresh as central. Find the list of
mirrors here[1]. 

 

Also, for those of you with multiple developers in a single location not
using a repo manager, what are you waiting for? There are plenty to
choose from and numerous reasons to do so, particularly the ability to
isolate yourself from transitive network outages or slowdowns. You can
read more about why and the existing repo managers at [2],[3] and a
comparison grid here at [4]

 

Also, if you are using a repo manager, make sure to correctly configure
it to not make requests to public repositories for your internal
artifacts. Otherwise you are making a ton of requests for things that
will never be found, increasing the bandwidth usage on your side and
ours. Also it gives away potentially sensitive information as someone
could scrape the logs and figure out what you're up to internally based
on these requests. Nexus lets you configure routing rules so you could
exclude com.yourcompany.* from central. Archiva has similar
functionality, I'm not sure about Artifactory.  

 

Please be a polite repository user. These repos and mirrors are provided
free of charge but there is a real cost behind providing this bandwidth.
Scraping the entire repository starves other users and increases the
cost of providing these repositories to the community. If the mirrors
start getting abused then we may find less geographical redundancy as a
result. There is never a reason to download the world if you have a
repository manager that is caching everything you need locally.

 

[1] http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories

[2] http://maven.apache.org/repository-management.html

[3]
http://books.sonatype.com/maven-book/reference/repository-manager.html

[4]
http://docs.codehaus.org/display/MAVENUSER/Maven+Repository+Manager+Feat
ure+Matrix

 

Brian Fox

Apache Maven PMC

http://blogs.sonatype.com/people/brian

 

 

Reply via email to