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

以下四个都是可用的:

 

[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>  
 
posted @ 2018-01-30 22:27  有梦就能实现  阅读(340)  评论(0编辑  收藏  举报