aliyun阿里云maven repository国内中央仓库(镜像mirror)地址--加速maven项目构建

打开解压的maven文件夹,找到conf文件夹打开,选择settings.xml文件用编辑器打开,搜索mirrors标签,把下面的内容添加在其子标签中

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

猜你喜欢

转载自www.cnblogs.com/star-1021/p/10013542.html