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> 
  • 相关阅读:
    Linux查看系统版本信息和设置远程终端登录
    Linux环境下安装JDK
    Windows10修改Tomcat服务端口和一台机器部署多个Tomcat
    [转]C#反射-Assembly.Load、LoadFrom与LoadFile进阶
    【转】C# lock的使用
    一个简单的C++程序及说明
    插入排序
    堆排序
    选择排序
    快速排序
  • 原文地址:https://www.cnblogs.com/xiluhua/p/5589953.html
Copyright © 2011-2022 走看看