第01篇:maven或pom指定aliyun
maven指定
<mirrors>
<mirror>
<id>aliyunmaven
</id>
<mirrorOf>central
</mirrorOf>
<name>阿里云公共仓库
</name>
<url>https://maven.aliyun.com/repository/central
</url>
</mirror>
</mirrors>
pom指定
<repositories>
<repository>
<id>central
</id>
<name>aliyun maven
</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/
</url>
<layout>default
</layout>
<releases>
<enabled>true
</enabled>
</releases>
<snapshots>
<enabled>false
</enabled>
</snapshots>
</repository>
</repositories>