Bug 1383583 - XMvn fails to convert pom.xml with parent to ivy.xml
Summary: XMvn fails to convert pom.xml with parent to ivy.xml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: xmvn
Version: rh-maven33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 2.4
Assignee: Mikolaj Izdebski
QA Contact: Jan Kepler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 07:02 UTC by Mikolaj Izdebski
Modified: 2017-04-26 10:16 UTC (History)
3 users (show)

Fixed In Version: rh-maven33-xmvn-2.1.1-1.20.el7 rh-maven33-xmvn-2.1.1-1.20.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-26 10:16:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (8.69 KB, patch)
2016-10-11 07:59 UTC, Mikolaj Izdebski
no flags Details | Diff
Reproducer (2.43 KB, application/x-gzip)
2017-02-17 14:24 UTC, Mikolaj Izdebski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1154 0 normal SHIPPED_LIVE rh-maven33 bug fix update 2017-04-26 14:09:14 UTC

Description Mikolaj Izdebski 2016-10-11 07:02:23 UTC
XMvn in rh-maven33 is affected by a bug that breaks conversion of Maven pom.xml to ivy.xml.  The bug makes it almost impossible to build Ivy projects with rh-maven33 XMvn.

The bug was introduced introduced in XMvn 2.1.1 and fixed in XMvn 2.3.0.

https://github.com/fedora-java/xmvn/commit/794f69a86efbaec6eff718376d853e8788046f07
https://github.com/fedora-java/xmvn/commit/7a356cb46f8bd2c26576f6484ce0142764c7c0ea

Comment 2 Mikolaj Izdebski 2016-10-11 07:59:43 UTC
Created attachment 1209034 [details]
Proposed patch

Comment 5 Mikolaj Izdebski 2017-02-17 14:24:13 UTC
Created attachment 1252452 [details]
Reproducer

Before running tests the following packages must be installed:
rh-maven33-ivy-local rh-java-common-easymock3

Steps to reproduce:
tar xf reproducer-rhbz1383583.tar.gz
cd ./reproducer-rhbz1383583/
./run-reproducer

Expected result:
output contains "OK (1 test)"
output contains "|      default     |   1   |   1   |   0   |   0   ||   1   |   1   |"
output does NOT contain "java.io.IOException: Impossible to load parent for"
output does NOT contain "FAILURES!!!"
exit code == 0

Comment 8 errata-xmlrpc 2017-04-26 10:16:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1154


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