Bug 1094583 - javapackages-tools: mvn_artifact: Empty version encountered in dependency
Summary: javapackages-tools: mvn_artifact: Empty version encountered in dependency
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 05:00 UTC by Mikolaj Izdebski
Modified: 2014-12-14 21:01 UTC (History)
4 users (show)

Fixed In Version: 4.3.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-14 21:01:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2014-05-06 05:00:12 UTC
Description of problem:
mvn_artifact fails with the following error:

+ python /usr/share/java-utils/mvn_artifact.py output/dist/lib/asm-analysis-5.0.2.pom output/dist/lib/asm-analysis-5.0.2.jar
Traceback (most recent call last):
  File "/usr/share/java-utils/mvn_artifact.py", line 183, in <module>
    deps.extend([x for x in p.get_dependencies()])
  File "/usr/lib/python2.7/site-packages/javapackages/pom.py", line 181, in get_dependencies
    adep = Dependency.from_xml_element(dep, create_all=get_all)
  File "/usr/lib/python2.7/site-packages/javapackages/artifact.py", line 566, in from_xml_element
    format(dep=a.get_mvn_str()))
javapackages.artifact.ArtifactFormatException: Empty version encountered in dependency: org.ow2.asm:asm-tree

Version-Release number of selected component (if applicable):
3.6.0-0.244.git9f2cc08

How reproducible:
Build objectweb-asm 5.0.2-1

Comment 1 Mikolaj Izdebski 2014-12-14 20:09:38 UTC
Verified upstream using javapackages-tools-4.3.0-0.152.git3a1f75c.noarch

Comment 2 Mikolaj Izdebski 2014-12-14 20:49:21 UTC
Fixed in javapackages-tools-4.3.0-1

Comment 3 Mikolaj Izdebski 2014-12-14 21:01:17 UTC
I believe that this bug is fixed in javapackages-tools-4.3.0-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=599231


Note You need to log in before you can comment on or make changes to this bug.