zoukankan      html  css  js  c++  java
  • maven deploy上传私服出错

    error 内容如下

      Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:  deploy (default-deploy) on project  XXX

    pom文件增加如下配置

      <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.6.0</version>
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.19.1</version>
                    <configuration>
                        <testFailureIgnore>true</testFailureIgnore>
                    </configuration>
                </plugin>
            </plugins>
        </build>
        <distributionManagement>
            <repository>
                <id>releases</id>
                <name>Releases</name>
                <url>http://***/nexus/content/repositories/icop-release/</url>
            </repository>
            <snapshotRepository>
                <id>snapshots</id>
                <name>Snapshots</name>
                <url>http://***/nexus/content/repositories/icop-snapshot/</url>
            </snapshotRepository>
        </distributionManagement>
  • 相关阅读:
    多线程
    集合与文件操作
    Net基础复习
    form表单
    html的常用标签和属性
    C#泛型与linq
    2020 年度总结 & OI 生涯感想——当年酒狂自负
    TODO-List
    Attention Points
    THUWC2020 游记
  • 原文地址:https://www.cnblogs.com/hujunzheng/p/6472460.html
Copyright © 2011-2022 走看看