修改maven根目录下的conf文件夹中的setting.xml文件,内容如下:
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>
posted on 2016-11-09 16:18 masaka9 阅读(187) 评论(0) 编辑 收藏 举报