[Bug 1078967] New: mvn-build generates bad reactor file from maven-jar-plugin with classifier
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1078967
Bug ID: 1078967
Summary: mvn-build generates bad reactor file from
maven-jar-plugin with classifier
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: pmackinn(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Created attachment 876929
--> https://bugzilla.redhat.com/attachment.cgi?id=876929&action=edit
effective pom generated from mvn help:effective-pom -f <path-to-pom>
A maven-jar-plugin configuration that includes a classifier like this:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<classifier>hadoop${hadoop.profile}</classifier>
</configuration>
</plugin>
leads to a bad file entry being generated in the .xmvn-reactor file:
<artifact>
<groupId>org.apache.sqoop</groupId>
<artifactId>execution</artifactId>
<extension>pom</extension>
<version>1.99.3</version>
<rawPomPath>/home/pmackinn/rpmbuild/BUILD/sqoop-1.99.3/execution/pom.xml</rawPomPath>
<effectivePomPath>/tmp/xmvn6133786444662127620.pom.xml</effectivePomPath>
</artifact>
<artifact>
<groupId>org.apache.sqoop.execution</groupId>
<artifactId>sqoop-execution-mapreduce</artifactId>
<version>1.99.3</version>
<file>/home/pmackinn/rpmbuild/BUILD/sqoop-1.99.3/execution/mapreduce/target/classes</file>
<rawPomPath>/home/pmackinn/rpmbuild/BUILD/sqoop-1.99.3/execution/mapreduce/pom.xml</rawPomPath>
<effectivePomPath>/tmp/xmvn6994462136357679764.pom.xml</effectivePomPath>
</artifact>
<artifact>
<groupId>org.apache.sqoop.execution</groupId>
<artifactId>sqoop-execution-mapreduce</artifactId>
<classifier>hadoop200</classifier>
<version>1.99.3</version>
<file>/home/pmackinn/rpmbuild/BUILD/sqoop-1.99.3/execution/mapreduce/target/sqoop-execution-mapreduce-1.99.3-hadoop200.jar</file>
</artifact>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=0mMYiwSc3A&a=cc_unsubscribe
10 years, 1 month