<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
settings.xml中配置镜像地址(maven安装目录中的settings.xml和仓库中的settings.xml)
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
settings.xml中配置镜像地址(maven安装目录中的settings.xml和仓库中的settings.xml)