Maven配置成国内阿里云镜像仓库

打开.m2/settings.xmlmaven

在本地 mavensetting配置文件中加上阿里云镜像地址阿里云

代码以下:url

 <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url>  </mirror>
相关文章
相关标签/搜索