Maven换源为阿里云镜像

  • 集成一个alipay等了十分钟太慢了果断换成国内源
  • 具体修改目录结构
<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
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <localRepository/>
  <interactiveMode/>
  <usePluginRegistry/>
  <offline/>
  <pluginGroups/>
  <servers/>
  <mirrors>
    <mirror>
    <id>aliyunmaven</id>
    <name>aliyun maven</name>
    <url>https://maven.aliyun.com/repository/public </url>
    <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
  <proxies/>
  <profiles/>
  <activeProfiles/>
</settings>

你可能感兴趣的:(Maven换源为阿里云镜像)