zoukankan      html  css  js  c++  java
  • maven的setting配置远程仓库

    maven的setting,配置远程库。

        <mirror>
          <id>nexus-aliyun</id>
          <mirrorOf>central</mirrorOf> 
          <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        </mirror>

    本地库配置

    </profiles>
        <profile>
            <id>nexus-local</id>
            <activation>
                <activeByDefault>true</activeByDefault>    
            </activation>
            <repositories>
                <repository>
                    <id>LocalMirrorId</id>
                    <url>http://10.1.*.*:8081/nexus/content/groups/public</url>
                    <releases><enabled>true</enabled></releases> 
                    <snapshots>
                        <enable>true</enable>
                        <updatePolicy>daily</updatePolicy>    
                    </snapshots>
                </repository>
            </repositories>
        </profile>
    </profiles>
        
      
    <activeProfiles>
        <activeProfile>nexus-local</activeProfile>
    </activeProfiles>
  • 相关阅读:
    IOTest-InputStream-OutputStream
    JSP
    java链表
    区块链
    MySQL常用命令
    jQuery
    javascript
    Nginx
    Linux
    Hive
  • 原文地址:https://www.cnblogs.com/jinzhiming/p/14842143.html
Copyright © 2011-2022 走看看