Maven配置阿里镜像仓库
场景
原Maven仓库地址:
https://repo1.maven.org/maven2/
![Image 1][]
国内阿里镜像
http://maven.aliyun.com/nexus/content/groups/public/
http://maven.aliyun.com/mvn/view
![Image 1][]
![Image 1][]
配置
1.打开Maven目录下的conf下的setting.xml
![Image 1][]
2.使用EditPlus等打开,找到
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
![Image 1][]
[Image 1]:
还没有评论,来说两句吧...