阿里云仓库配置

注意修改 localRepository

<?xml version="1.0" encoding="UTF-8"?>

<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>F:\mavenrepository</localRepository>

  <pluginGroups>
   
  </pluginGroups>

  <proxies>
    
  </proxies>

  <servers>
    
  </servers>

  <mirrors>
    <mirror>
      <id>nexus-aliyun</id>
	  <mirrorOf>central</mirrorOf>
	  <name>Nexus aliyun</name>
	  <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>
  </mirrors>
  
  <profiles>
    
  </profiles>
</settings>

上一篇:Maven 私服Nexus 基于compose部署


下一篇:给技术经理找了几款Docker开源镜像仓库,为什么经理选中了Sonatype Nexus(上)