Maven仓库国内镜像站

感谢阿里巴巴,搭建并公开了Maven仓库的国内镜像站。话外:使用Maven的官方仓库真的是太slow了!

在<Maven Root>/conf/settings.xml中的<mirrors></mirrors>标签中,加入以下代码,即可使用阿里的镜像站了。

     <mirror>
        <id>alimaven</id>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        <mirrorOf>central</mirrorOf>
    </mirror>

 

posted @ 2018-03-21 19:55  草谷子  阅读(326)  评论(0编辑  收藏  举报