创建maven 项目,package 下载慢解决方案

找到maven 仓库 -----conf ----settings.xml----粘贴如下代码[阿里云的maven 镜像]

<mirror> <!--This sends everything else to /public -->

<id>nexus-aliyun</id> <mirrorOf>*</mirrorOf>

<name>Nexus aliyun</name>

<url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror>

猜你喜欢

转载自blog.csdn.net/qq_35781178/article/details/80960542