maven下载依赖缓慢, 更换数据源

右击项目  ----> maven  ------> open setting.xml  或者  create settings.xml ,  然后用下面的替换原来的标签内容, ok

 

 

 
        
            alimaven
            aliyun maven
            http://maven.aliyun.com/nexus/content/groups/public/
            central
        
        
            uk
            central
            Human Readable Name for this Mirror.
            http://uk.maven.org/maven2/
        
        
            CN
            OSChina Central
            http://maven.oschina.net/content/groups/public/
            central
        
        
            nexus
            internal nexus repository
             
            http://repo.maven.apache.org/maven2
            central
        
    

 

你可能感兴趣的:(java编码及问题)