修改位置 
    maven安装目录/conf/settings.xml
                        <mirrors>
                            <mirror>

1、http://maven.aliyun.com/nexus/content/groups/public

<mirror>
    <id>nexus-aliyun</id>
    <mirrorOf>*</mirrorOf>
    <name>Nexus aliyun</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror> 

2、http://mvnrepository.com/
3、http://repo1.maven.org/maven2
4、http://central.maven.org/maven2/
5、http://maven.ibiblio.org/maven2/
6、https://repo.maven.apache.org/maven2/
7、https://repository.sonatype.org/content/groups/public/
8、https://repository.jboss.org/nexus/content/groups/public/

标签: maven

添加新评论