maven远程仓库镜像更改为阿里云镜像.
1.找到maven下的conf目录中的config.xml文件.
在<mirrors>标签中添加 如下内容
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>