一、官网
官网地址:https://maven.aliyun.com
二、配置仓库
打开Maven安装目录下的/conf/settings.xml文件,在mirrors节点下添加:
<mirror> <id>nexus-aliyun</id> <mirrorOf>public</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/public</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/central</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>google</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/google</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>spring</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/spring</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>spring-plugin</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/spring-plugin</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>spring-plugin</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/spring-plugin</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>grails-core</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/grails-core</url> </mirror> <mirror> <id>nexus-aliyun</id> <mirrorOf>apache snapshots</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/apache-snapshots</url> </mirror>