增加maven仓库,解决某些依赖无法获取

修改maven的setting.xml

修改maven安装目录下的conf下的settings.xml 为







		  

	C:\Users\Administrator\.m2\repository

  
   
  

  
  

  


  
    
  

  
  
    
     
         
  nexus-aliyun    
  nexus-aliyun  
  http://maven.aliyun.com/nexus/content/groups/public    
  central      
    
  
  
            alimaven
            central
            aliyun maven
            http://maven.aliyun.com/nexus/content/repositories/central/
        
        
            alimaven
            aliyun maven
            http://maven.aliyun.com/nexus/content/groups/public/
            central
        
        
            central
            Maven Repository Switchboard
            http://repo1.maven.org/maven2/
            central
        
        
            repo2
            central
            Human Readable Name for this Mirror.
            http://repo2.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
        
        
            google-maven-central
            Google Maven Central
            https://maven-central.storage.googleapis.com
            
            central
        
        
        
            maven.net.cn
            oneof the central mirrors in china
            http://maven.net.cn/content/groups/public/
            central
        
     
  

  
  
    
  

 


修改 以及 添加

你可能感兴趣的:(maven,环境,环境配置)