maven 阿里云 国内镜像 中央仓库

修改maven根目录下的conf文件夹中的setting.xml文件,具体内容和示意图如下:

1 <mirror>  
2   <id>alimaven</id>  
3   <name>aliyun maven</name>  
4   <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
5   <mirrorOf>central</mirrorOf>          
6 </mirror>  

猜你喜欢

转载自www.cnblogs.com/laoxia/p/9206188.html