分享个本地maven配置

用阿里云的快有点受不了了,经常有包下载不了

settings.xml

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                          https://maven.apache.org/xsd/settings-1.0.0.xsd">
  <mirrors>
    <mirror>
      <id>repo1-maven</id>
      <mirrorOf>central</mirrorOf>
      <name>repo1 maven</name>
      <url>https://repo1.maven.org/maven2/</url>
    </mirror>
  </mirrors>

</settings>

posted @ 2021-01-30 10:45  带刺的坐椅  阅读(77)  评论(0编辑  收藏  举报