设置maven使用阿里云中心仓库
1.打开maven的配置文件settings.xml(apache\apache-maven-3.6.0\conf\settings.xml)
2.在
<mirrors>标签内添加如下内容:<mirror>
<id>nextus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
本文介绍如何在Maven中设置阿里云中心仓库作为镜像源,通过修改settings.xml文件,添加镜像配置,实现更快的依赖下载速度。
2417

被折叠的 条评论
为什么被折叠?



