aliyun maven国内镜像 settings.xml

settings.xml

下载速度不错,点击下面链接试试。

http://maven.aliyun.com

<?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
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ~/.m2/repository -->
  <localRepository>e:\\data\\.m2</localRepository>
 

  <pluginGroups>

  </pluginGroups>


  <proxies>

  </proxies>


  <servers>
    
  </servers>

  <mirrors>
 
  </mirrors>
  
  <profiles>
    <profile>
        <id>aliyun_nexus</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <repositories>
        <repository>
            <id>public</id>
            <name>public</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases> 
             <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> 
        </repository>

        <repository>
            <id>central</id>
            <name>central</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        
        <repository>
            <id>apache-snapshots</id>
            <name>apache-snapshots</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/apache-snapshots/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        
                <repository>
            <id>central-m1</id>
            <name>central-m1</name>
            <url>http://maven.aliyun.com/nexus/content/shadows/central-m1/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>codehaus-snapshots</id>
            <name>codehaus-snapshots</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/codehaus-snapshots/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>releases</id>
            <name>releases</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/releases/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        
        <repository>
            <id>snapshots</id>
            <name>snapshots</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
            <snapshots>
                <updatePolicy>interval:30</updatePolicy>
            </snapshots>
        </repository>
        </repositories>
    </profile>
  </profiles>
  
  <activeProfiles>
      <activeProfile>aliyun_nexus</activeProfile>
  </activeProfiles>

</settings>

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 177,387评论 25 709
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,309评论 19 139
  • 天黑了,能说么 说 好,你带瓶酒来
    九月谣言阅读 177评论 3 4

友情链接更多精彩内容