• mvn 配置



         <!-- 阿里云仓库1 -->
        <mirror>
            <id>alimaven-1</id>
            <name>aliyun maven-2</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>        
        </mirror>

         <!-- 阿里云仓库2 -->
        <mirror>
            <id>alimaven-2</id>
            <name>aliyun maven-2</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>

        <!-- jboss maven仓库1 -->
        <mirror>
            <id>jbossmaven</id>
            <name>jboss maven</name>
            <url>http://repository.jboss.com/maven2/</url>
            <mirrorOf>central</mirrorOf>        
        </mirror>
         <mirror>
             <id>jboss-public-repository-group</id>
             <mirrorOf>central</mirrorOf>
             <name>JBoss Public Repository Group</name>
             <url>http://repository.jboss.org/nexus/content/groups/public</url>
         </mirror>

        <!-- OSChina仓库1 -->
        <mirror>
            <id>OSChina</id>
            <name>OSChina Central</name>   
            <url>http://maven.oschina.net/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>

        <!-- 中央仓库1 -->
        <mirror>
            <id>repo1</id>
            <mirrorOf>central</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>http://repo1.maven.org/maven2/</url>
        </mirror>

        <!-- 中央仓库2 -->
        <mirror>
            <id>repo2</id>
            <mirrorOf>central</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>http://repo2.maven.org/maven2/</url>
        </mirror>
        <!-- ibiblio仓库 -->
        <mirror>
             <id>ibiblio</id>
             <mirrorOf>central</mirrorOf>
             <name>Human Readable Name for this Mirror.</name>
             <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
         </mirror>
        <!-- maven官方运维的2号仓库 -->
         <mirror>
            <id>repo2</id>
            <name>Mirror from Maven Repo2</name>
            <url>http://repo2.maven.org/maven2/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
        <!-- 开源中国镜像 -->
        <mirror>  
            <id>nexus-osc-thirdparty</id>  
            <mirrorOf>thirdparty</mirrorOf>  
            <name>Nexus osc thirdparty</name>  
            <url>http://maven.oschina.net/content/repositories/thirdparty/</url>  
        </mirror>


        <profile>
            <id>dev</id>  
            <!-- repositories and pluginRepositories here-->  
            <repositories>
                <repository>
                    <id>nexus-aliyun</id>
                    <name>Nexus aliyun</name>
                    <url>http://maven.aliyun.com/nexus/content/groups/public</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
        </profile>

  • 相关阅读:
    《构建之法》阅读笔记4
    《构建之法》阅读笔记3
    《构建之法》阅读笔记2
    《构建之法》阅读笔记1
    Android可折叠式菜单栏
    Material卡片式布局+下拉刷新+完整代码
    android悬浮按钮的使用
    androidStdio下载与安装以及安装过程问题解释
    html给图片划分区域添加链接
    UI进阶2-滑动菜单
  • 原文地址:https://www.cnblogs.com/oumi/p/11069932.html
Copyright © 2020-2023  润新知