zoukankan      html  css  js  c++  java
  • 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>

  • 相关阅读:
    [linux1exe元旦特供]基于wine的IE6一键安装
    http://www.tianya.cn/publicforum/content/funinfo/1/1869814.shtml
    最全的design pattern 概述
    例解 autoconf 和 automake 生成 Makefile 文件
    根据条件分组SQL
    SQL Express自动备份
    通过asp.net 短信猫发短信
    EXT.NET GridPanel(按键事件带参的另一种写法)
    Asp.net操作IIS(调试通过)
    面向接口编程详解——编程实例(T2噬菌体)
  • 原文地址:https://www.cnblogs.com/oumi/p/11069932.html
Copyright © 2011-2022 走看看