修改maven home/conf下的settings.xml文件,添加ali镜像到镜像列表中。
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<mirrors>
配置Maven阿里云镜像
本文介绍如何通过修改Maven的settings.xml文件来添加阿里云的Maven镜像,以此来提高Maven项目的依赖下载速度。
913

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



