https://bugzilla.redhat.com/show_bug.cgi?id=1007203
Bug ID: 1007203
Summary: javapackages-tools: incorrect artifact extension
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: mizdebsk(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com,
sochotni(a)redhat.com
Description of problem:
maven_depmap.py creates depmap with extension "jar" even if artifact extension
is "war". Such depmaps won't work with XMvn.
Version-Release number of selected component (if applicable):
3.0.3-1
Steps to Reproduce:
$ python /usr/share/java-utils/maven_depmap.py testfrag
/usr/share/maven-poms/JPP-maven-source-plugin.pom
/usr/share/java/maven-source-plugin.war
$ cat testfrag
<?xml version="1.0" ?>
<dependencyMap>
<dependency>
<maven>
<artifactId>maven-source-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>2.2.1</version>
</maven>
<jpp>
<artifactId>maven-source-plugin</artifactId>
<groupId>JPP</groupId>
</jpp>
</dependency>
</dependencyMap>
$ ls -l /usr/share/java/maven-source-plugin.jar
ls: cannot access /usr/share/java/maven-source-plugin.jar: No such file or
directory
Actual results:
Extension in <jpp> part is set to "jar", but artifact extension is
"war".
Expected results:
maven_depmap.py should either set extension to "war" in <jpp> part or fail
if
it doesn't support war extension. Silently succeeding with broken depmap is not
desired.
--
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=DzS8BwgW19&a=cc_unsubscribe