问题:Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central 解决方法


修改Maven的配置文件setting.xml镜像地址

 1         <mirror> 
 2             <id>alimaven</id> 
 3             <name>aliyun maven</name> 
 4             <url>http://maven.aliyun.com/nexus/content/repositories/central/</url> 
 5             <mirrorOf>central</mirrorOf> 
 6         </mirror> 
 7 
 8         <!-- junit镜像地址 -->
 9         <mirror> 
10             <id>junit</id> 
11             <name>junit Address/</name> 
12             <url>http://jcenter.bintray.com/</url> 
13             <mirrorOf>central</mirrorOf> 
14         </mirror>
15         
16         <mirror> 
17             <id>alimaven</id> 
18             <name>aliyun maven</name> 
19             <url>http://central.maven.org/maven2</url> 
20             <mirrorOf>central</mirrorOf> 
21         </mirror>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM