Maven 国内镜像记录

2016年8月11日12:31:26
个人需要需要搭建Maven项目,Maven的中央仓库在国内访问速度非常慢【被墙的原因?】,在网上查找的了部分镜像地址,以备不时之需
将以下内容复制到maven的config/setting.xml文件中的mirrors中即可

 
      repo2    
      central    
      Human Readable Name for this Mirror.    
      http://repo2.maven.org/maven2/    
    
    
      net-cn    
      central    
      Human Readable Name for this Mirror.    
      http://maven.net.cn/content/groups/public/     
    
    
      ui    
      central    
      Human Readable Name for this Mirror.    
     http://uk.maven.org/maven2/    
    
    
      ibiblio    
      central    
      Human Readable Name for this Mirror.    
     http://mirrors.ibiblio.org/pub/mirrors/maven2/    
    
    
      jboss-public-repository-group    
      central    
      JBoss Public Repository Group    
     http://repository.jboss.org/nexus/content/groups/public    
  
    
      JBossJBPM   
    central   
    JBossJBPM Repository   
https://repository.jboss.org/nexus/content/repositories/releases/  
 
//maven配置的中央仓库阿里云镜像 这个地址下载 jar 包的速度,谁用谁知道!

    
      alimaven
      aliyun maven
      http://maven.aliyun.com/nexus/content/groups/public/
      central        
    
  

可参考地址:
http://blog.csdn.net/xxgujh/article/details/45457631
http://blog.csdn.net/zhangjm123/article/details/51864669

你可能感兴趣的:(Maven 国内镜像记录)