<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http:
//maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
(OSChina 失效了)
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http:
//maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
maven仓库配置看下面这个文章