-
- Notifications
You must be signed in to change notification settings - Fork 9k
下载maven jar包出现问题时请设置maven镜像库
Binary Wang edited this page Sep 21, 2018 · 7 revisions
推荐使用国内的镜像库,修改maven配置文件setting.xml,替换原有mirrors部分,或添加相应内容:
<mirrors> <mirror> <id>aliyun</id> <name>aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> mirror配置:
<mirror> <id>nexus-163</id> <mirrorOf>*</mirrorOf> <name>Nexus 163</name> <url>http://mirrors.163.com/maven/repository/maven-public/</url> </mirror>
审批模版层级过深转化会异常