Bug 1015600 - xmvn creating versioned jar dependencies
Summary: xmvn creating versioned jar dependencies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xmvn
Version: 20
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: 2013-10-04 15:04 UTC by Robert Rati
Modified: 2013-10-07 12:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-07 12:05:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert Rati 2013-10-04 15:04:08 UTC
Description of problem:
xmvn is creating versioned requires even if the pom fragment is not listing the package as a compat package.  xmvn should be create unversioned requires even if the filename is versioned.

Version-Release number of selected component (if applicable):
xmvn-1.1.0-1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Stanislav Ochotnicky 2013-10-04 15:25:47 UTC
This can be seen in hadoop build[1] having requires on 'mvn(commons-el:commons-el:1.0)'. 

I just realized that this is caused by apache-commons-el being build when add_maven_depmap added <version> in <jpp> part of fragment as well and XMvn now believing this is a compat mapping. 

I believe a possible workaround without need to rebuild every old package that might have versioned symlinks is warranted in this case. How about ignoring version tag in <jpp> part if the whole fragment is not a valid XML (and is therefore produced by old javapackages-tools that puts <version> everywhere). 

This is not going to affect just commons-el but other packages as well


[1] http://koji.fedoraproject.org/koji/rpminfo?rpmID=4457357

Comment 2 Mikolaj Izdebski 2013-10-07 09:32:55 UTC
I cannot reproduce this.
Please include a (simple) reproducer.

Comment 3 Robert Rati 2013-10-07 12:05:54 UTC
This is a bug in individual packages and not with xmvn.


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