zl程序教程

您现在的位置是:首页 >  后端

当前栏目

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

Maven下载 利用 解决办法 仓库 中央
2023-09-11 14:19:21 时间

以下四个都是可用的:

 

[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>