maven修改为国内远程仓库

在maven的配置文件settings.xml中加上国内的阿里云仓库,加上mirror子节点:

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

  

posted on 2017-09-11 16:29  局外人123  阅读(499)  评论(0)    收藏  举报

导航