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

Maven配置阿里云镜像仓库

时间:2018-01-06 22:16:33      阅读:2699      评论:0      收藏:0      [点我收藏+]

标签:snap   div   osi   his   阿里云   dev   snapshot   hot   groups   

配置文件:D:\MyDev\Maven\apache-maven-3.0.5\conf\settings.xml

    <mirrors>
        <mirror>
            <id>alimaven</id>
            <mirrorOf>central</mirrorOf>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        </mirror>
        <mirror>
            <!--This sends everything else to /public -->
            <id>nexus</id>
            <mirrorOf>*</mirrorOf>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        </mirror>
        <mirror>
            <!--This is used to direct the public snapshots repo in the profile below over to a different nexus group -->
            <id>nexus-public-snapshots</id>
            <mirrorOf>public-snapshots</mirrorOf>
            <url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
        </mirror>
    </mirrors>

Maven配置阿里云镜像仓库

标签:snap   div   osi   his   阿里云   dev   snapshot   hot   groups   

原文地址:https://www.cnblogs.com/yeyeyeid/p/maven-alimaven-mirror.html

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