maven修改为阿里巴巴的仓库地址

在maven目录下找到conf文件夹下的settings.xml文件,在mirrors的子节点添加以下配置,编程工具

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

猜你喜欢

转载自code.iteye.com/blog/2405034