更换镜像

plugins\maven\lib\maven3\conf 的顺序,依次打开,在文件夹里面有一个setting.xml的文件

更换国内源  ​​阿里巴巴开源镜像站​


IDEA换阿里云镜像_maven

在文件的150左右放入下面代码


<mirror>  
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>

重启

然后idea里面看看是不是 用的你改的路径


IDEA换阿里云镜像_maven_02

原文 ​​IDEA换阿里云镜像_世 间 尤 物,不 敢 妄 取-CSDN博客_idea阿里云镜像​​ 

IDEA换阿里云镜像_ide_03IDEA换阿里云镜像_maven_04IDEA换阿里云镜像_xml_05