Skip to content

Latest commit

 

History

History

maven

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

maven 换源

setting.xml 添加以下,更换为阿里源:

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

根据本机情况配置文件在用户目录 .m2 文件夹下或 maven 安装目录下 conf 文件夹下。