maven阿里云中央仓库

maven阿里云中央仓库 

修改maven根目录下的conf文件夹中的setting.xml文件,内容如下:

<mirrors>
    <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>        
    </mirror>

</mirrors>

posted @ 2017-03-22 16:22  AnswerCard  阅读(176)  评论(0编辑  收藏  举报