Maven 中央倉庫地址:
1、私服nexus工具使用
http://www.sonatype.org/nexus/
2、推薦
3、默認地址
4、 阿里云 (強力推薦)http://maven.aliyun.com/nexus/content/groups/public/
5、私服nexus工具使用
http://repo2.maven.org/maven2/
6、UK
7、jboss
http://repository.jboss.org/nexus/content/groups/public
8、oschina
http://lib.csdn.net/base/dotnet)/content/groups/public/ oschina可惜啦,以前一直用這個,不過現在有阿里云來擦屁股啦
9、ibiblio
http://mirrors.ibiblio.org/maven2/
10、antelink
http://maven.antelink.com/content/repositories/central/
11、openkoala
http://nexus.openkoala.org/nexus/content/groups/Koala-release/
12、tmatesoft
http://maven.tmatesoft.com/content/groups/public/
其實,國內maven鏡像雖然快,但是更新比較慢,國外的倉庫由于國內網絡的原因,下載簡直不能忍,但是更新很快,可以根據自身的情況選擇,有些人會花些錢開代理訪問外網比較快,建議使用原裝。
- maven庫配置:
<mirror>
<id>oschina-repo</id>
<name>開源中國鏡像</name>
<mirrorOf>central</mirrorOf>
<url>可以根據自己的網絡情況選填上面的url</url>
</mirror>
其實不管是配置哪個地址,個人覺得還是創建一個私人nexus倉庫比較好~ 這樣團隊能夠分享,也不用過多的下載版本
** 原文地址:http://blog.csdn.net/win7system/article/details/51260282 **