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>
原文地址:https://www.cnblogs.com/alwu007/p/8619193.html