zoukankan      html  css  js  c++  java
  • Maven Settings.xml 配置文件

    <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    
        <!-- 配置本地仓库地址 -->
        <localRepository>E:maven
    epository</localRepository>
    
        <!-- 配置下载Jar包的镜像仓库地址 -->
        <mirrors>
    
             <mirror>
                <id>alimaven</id>
                <name>aliyun maven</name>
                <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
                <mirrorOf>central</mirrorOf>
              </mirror>
            
              <mirror> 
                <id>uk</id>  
                <name>Human Readable Name for this Mirror.</name>  
                <url>http://uk.maven.org/maven2/</url> 
                <mirrorOf>central</mirrorOf>  
              </mirror>
              
              <mirror>
                <id>nexus</id>
                <name>internal nexus repository</name>
                <url>http://repo.maven.apache.org/maven2</url>
                <mirrorOf>central</mirrorOf>
              </mirror>
        </mirrors>
     
        <profiles>
            <!-- 下载源代码和Javadoc -->
            <profile>
                <id>downloadSources</id>    
                <properties>    
                    <downloadSources>true</downloadSources>    
                    <downloadJavadocs>true</downloadJavadocs>               
                </properties>    
            </profile>
        </profiles>
        
        <!-- 激活在profiles的配置项 -->
        <activeProfiles>    
            <activeProfile>downloadSources</activeProfile>    
        </activeProfiles>  
        
    </settings>
    

      

  • 相关阅读:
    register_shutdown_function
    字节转换
    考虑 PHP 5.0~5.6 各版本兼容性的 cURL 文件上传
    linux--svn checkout
    linux命令
    linux---mysql忘记密码
    array_merge函数的注意事项
    逻辑卷使用记录笔记
    系统设计时关于性能问题处理的几点心得
    SSH防暴力破解脚本
  • 原文地址:https://www.cnblogs.com/atomgame/p/12674091.html
Copyright © 2011-2022 走看看