maven配置阿里镜像仓库

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

注意setting.xml文件的位置:放在仓库的目录下,防止之后maven升级丢失setting.xml文件。

原文地址:https://www.cnblogs.com/xxoome/p/8186283.html