由于以前都是用国内的OSChina的镜像地址,速度感觉比国内镜像地址还要快。试了就知道:
<mirror>
<id>ui</id><mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>sprintio</id><mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>https://repo.spring.io/libs-snapshot/</url>
</mirror>
国内的镜像地址
<mirror>
<id>*</id>
<mirrorOf>central</mirrorOf>
<url>http://www.gingo.cn:8081/nexus/content/groups/public</url>
</mirror>