赞
踩
在本地 maven 的 setting 配置文件中加上阿里云镜像地址就行了:
新增配置内容:
- <!-- 阿里镜像仓库 -->
- <mirrors>
- <mirror>
- <id>alimaven</id>
- <name>aliyun maven</name>
- <url>
- http://maven.aliyun.com/nexus/content/groups/public/
- </url>
- <mirrorOf>central</mirrorOf>
- </mirror>
- </mirrors>
在 idea 中 file --> Settings 中可以看到 maven 的 setting 配置文件所在地址:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。