zoukankan      html  css  js  c++  java
  • settings.xml

    <settings>
    <!--本地仓库。该值表示构建系统本地仓库的路径。其默认值为~/.m2/repository,windows:C:/Users/Administrator/.m2/repository。 -->  
       <localRepository>C:/Users/Administrator/.m2/repository</localRepository>
        <mirrors>  
            
            <mirror>     
             <id>maven</id>      
             <url>http://repo1.maven.org/maven2/</url>     
             <mirrorOf>*</mirrorOf>     
            </mirror>
    <!--
            <mirror>     
             <id>nexus</id>      
             <url>http://10.4.237.3:8081/nexus/content/groups/public/</url>     
             <mirrorOf>*</mirrorOf>     
            </mirror>  -->  
        </mirrors>
    
        <repositories>
            <repository>
                <id>central</id>
                <name>Maven central Repository</name>
                <layout>default</layout>
                <url>http://repo1.maven.org/maven2</url>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
        </repositories>
    
        <profiles> 
            <profile>
                <id>dev</id>
                <repositories>
                  <repository>
                     <id>nexus</id>
                     <url>http://10.4.237.3:8081/nexus/content/groups/public/</url>
                     <releases>
                        <enabled>true</enabled>
                     </releases>
                     <snapshots>
                        <enabled>true</enabled>
                     </snapshots>
                  </repository>
                </repositories>            
                <pluginRepositories>
                    <pluginRepository>
                        <id>nexus</id>
                        <url>http://10.4.237.3:8081/nexus/content/groups/public/</url>
                        <releases>
                            <enabled>true</enabled>
                        </releases>
                        <snapshots>
                            <enabled>true</enabled>
                       </snapshots>
                    </pluginRepository>
                </pluginRepositories>
            </profile>
        </profiles>
    
        <activeProfiles>
            <activeProfile>dev</activeProfile>
        </activeProfiles>
        
        <servers>
          <server>
            <username>cntaiping</username>
            <password>cntaiping</password>
            <id>cntaiping</id>
          </server>
        </servers>
    </settings> 
  • 相关阅读:
    数据库
    计算机基础知识系列
    《大话数据结构》参考
    数据结构与算法系列
    python cookbook
    Python教程 廖雪峰
    Python入门学习系列
    认识 React——声明式,高效且灵活的用于构建用户界面的 JavaScript 库
    线程---同步(synchronized)
    线程---插队和礼让执行(join和yield)
  • 原文地址:https://www.cnblogs.com/xiluhua/p/5589953.html
Copyright © 2011-2022 走看看