maven的setting.xml文件配置
maven的setting.xml文件配置
更改本地仓库地址
<localRepository>我的本地仓库地址</localRepository>
更换阿里云镜像
<!---将<mirrors></mirrors>中原本的mirror标签注释掉,更换为阿里云的镜像仓库--->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>