Maven – 解决Maven下载依赖包速度慢问题-加入国内镜像

其实方法很简单:maven是支持镜像的,我们可以在${maven_home}的conf目录下的setting.xml文件中找到标签


alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
central


CN
OSChina Central
http://maven.oschina.net/content/groups/public/
central


repo2
central
Human Readable Name for this Mirror.
http://repo2.maven.org/maven2/


net-cn
central
Human Readable Name for this Mirror.
http://maven.net.cn/content/groups/public/


ui
central
Human Readable Name for this Mirror.
http://uk.maven.org/maven2/


ibiblio
central
Human Readable Name for this Mirror.
http://mirrors.ibiblio.org/pub/mirrors/maven2/


jboss-public-repository-group
central
JBoss Public Repository Group
http://repository.jboss.org/nexus/content/groups/public


JBossJBPM
central
JBossJBPM Repository
https://repository.jboss.org/nexus/content/repositories/releases/


antelink
central
antelink Repository
http://maven.antelink.com/content/repositories/central/


openkoala
central
openkoala Repository
http://nexus.openkoala.org/nexus/content/groups/Koala-release/


tmatesoft
central
tmatesoft Repository
http://maven.tmatesoft.com/content/groups/public/


mavensync
central
mavensync Repository
http://mavensync.zkoss.org/maven2/

留下评论