解决maven 在IDEA 下载依赖包速度慢的问题

1.idea界面双击shift键

解决maven 在IDEA 下载依赖包速度慢的问题_第1张图片

 2.打开setting.xml文件

复制粘贴



    
        
            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
        
        
            alimaven
            central
            aliyun maven
            https://maven.aliyun.com/repository/central
        
    

重启idea

 

你可能感兴趣的:(maven,intellij-idea,java)