You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiasheng Wang (JIRA)" <ji...@apache.org> on 2016/03/07 10:32:40 UTC
[jira] [Created] (SPARK-13716) mvn deploy tried to upload test jar
of spark-network-common_2.10 twice
Jiasheng Wang created SPARK-13716:
-------------------------------------
Summary: mvn deploy tried to upload test jar of spark-network-common_2.10 twice
Key: SPARK-13716
URL: https://issues.apache.org/jira/browse/SPARK-13716
Project: Spark
Issue Type: Bug
Environment: Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
Maven home: /usr/local/share/maven
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-58-generic", arch: "amd64", family: "unix"
Reporter: Jiasheng Wang
Priority: Minor
spark/pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>prepare-test-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>test-jar</goal>
</goals>
<configuration>
<excludes>
<exclude>log4j.properties</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
-----------------------------------------------------------------------
spark/network/common/pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>test-jar-on-test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
maven-jar-plugin:test-jar goal is bound to both phase "test-compile" and phase "test jar". As a result, when I tried to deploy spark, test.jar of spark-network-common_2.10 was tried to be uploaded to nexus twice and failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org