码迷,mamicode.com
首页 > 其他好文 > 详细

Maven库下载很慢解决办法,利用中央仓库

时间:2018-01-31 00:52:12      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:oschina   自己   jboss   bar   views   nexus   一个   source   com   

以下四个都是可用的:

 

[html] view plain copy
 
  1. http://mirrors.ibiblio.org/maven2/  
  2.   
  3. http://mvnrepository.com/  
  4.   
  5. http://repository.jboss.org/nexus/content/groups/public/  
  6.   
  7. http://maven.aliyun.com/nexus/content/groups/public  


 自己在做项目时需要下载jar,之前听说oschina关闭了,然后选择了阿里的一个中央仓库来下载jar,阿里的maven中央仓库不错,并且还是国内,地址如下:

 

 

[plain] view plain copy
 
  1. <mirrors>  
  2.    <mirror>  
  3.      <id>alimaven</id>  
  4.      <name>aliyun maven</name>  
  5.      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
  6.      <mirrorOf>central</mirrorOf>          
  7.    </mirror>  
  8.  </mirrors>  
 

Maven库下载很慢解决办法,利用中央仓库

标签:oschina   自己   jboss   bar   views   nexus   一个   source   com   

原文地址:https://www.cnblogs.com/firstdream/p/8387659.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!