Maven配置阿里镜像仓库

打开maven的setting.xml配置文件,添加阿里镜像仓库

配置参数如下:

 <mirror>
    <id>nexus-aliyun</id>
    <mirrorOf>central</mirrorOf>
    <name>Nexus aliyun</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public</url> 
 </mirror>
原文地址:https://www.cnblogs.com/lwcode6/p/14327671.html