码迷,mamicode.com
首页 > 其他好文 > 详细

maven修改为国内远程仓库

时间:2017-09-11 18:23:20      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:public   highlight   阿里云   blog   htm   name   ups   maven   com   

在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> 

  

maven修改为国内远程仓库

标签:public   highlight   阿里云   blog   htm   name   ups   maven   com   

原文地址:http://www.cnblogs.com/miserable-faith/p/7505565.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!