具體的操作,在OSchina官網的詳細介紹中已有http://maven.oschina.net/help.html點擊打開鏈接
然後只是其中的在第二部修改settings.xml的時候,修改<
mirrors
>的時候暫時不用添加第三倉庫,具體設置如下:
<mirrors>
<mirror>
<id>CN</id>
<name>OSChina Central</name> <url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
剩下的如url操作即可