<!--默认的配置-->
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>
</mirror>
<!--阿里镜像的配置-->
<mirror>
<id>mirror-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus-aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
<!--
<mirror>
<id>ali-mirror</id>
<mirrorOf>central,!nexus</mirrorOf>
<name>aliyun-mirror</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central</url>
<blocked>true</blocked>
</mirror>
-->
标签:xml,maven,http,settings,nexus,Maven,aliyun,mirror,central
From: https://blog.51cto.com/u_15978361/8490999