<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
其中id可以自己命名,这里使用的是nexus-aliyun
将maven的中央仓库地址改为阿里云的仓库地址
原文:https://www.cnblogs.com/LaoJiangLJ/p/8922519.html