1、win7环境,默认情况下在用户目录的.m2下自己新建setting文件。
.m2\settings.xml
2、settings.xml文件内容为:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
alimaven
aliyun maven
http:
//maven.aliyun.com/nexus/content/groups/public/
central
3、修改配置
注意,需要点击上图所示右下角的override。