[java-sig-commits] [Bug 1007203] New: javapackages-tools: incorrect artifact extension

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 12 05:58:37 UTC 2013


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 at redhat.com
          Reporter: mizdebsk at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: java-sig-commits at lists.fedoraproject.org,
                    mizdebsk at redhat.com, msrb at redhat.com,
                    sochotni at 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


More information about the java-sig-commits mailing list