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>
posted @ 2021-08-09 16:31  草系编程苦手  阅读(282)  评论(0)    收藏  举报