Bug 1060753

Summary: ivy-local should add a Requires on maven-local
Product: [Fedora] Fedora Reporter: Pete MacKinnon <pmackinn>
Component: javapackages-toolsAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msimacek, msrb, sochotni, willb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-03 14:24:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete MacKinnon 2014-02-03 14:12:28 UTC
I think ivy-local should require maven-local otherwise the xmvn resolver in /etc/ivy/ivysettings.xml is non-functional.

Without maven-local:

[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]   [XMvn] No XMvn configuration files were found. Using default embedded configuration.
[ivy:resolve]           module not found: xmlenc#xmlenc;0.52
[ivy:resolve]   ==== local: tried
[ivy:resolve]     /root/.ivy2/local/xmlenc/xmlenc/0.52/ivys/ivy.xml
[ivy:resolve]     -- artifact xmlenc#xmlenc;0.52!xmlenc.jar:
[ivy:resolve]     /root/.ivy2/local/xmlenc/xmlenc/0.52/jars/xmlenc.jar
[ivy:resolve]           module not found: commons-codec#commons-codec;1.4
....


With maven-local:

ivy-resolve:
[ivy:resolve] :: resolving dependencies :: org.apache.pig#pig;0.12.0
[ivy:resolve]   confs: [master, default, runtime, compile, test, javadoc, releaseaudit, jdiff, checkstyle, buildJar, hadoop20, hadoop23, hbase94, hbase95]
[ivy:resolve]   found xmlenc#xmlenc;SYSTEM in xmvn
[ivy:resolve]   [SYSTEM] xmlenc#xmlenc;0.52 (forced)
[ivy:resolve]   found commons-codec#commons-codec;SYSTEM in xmvn
[ivy:resolve]   [SYSTEM] commons-codec#commons-codec;1.4 (forced)
....

Comment 1 Mikolaj Izdebski 2014-02-03 14:24:47 UTC
This will be fixed in new major upstream release. As a workaround you can add explicit requires on maven-local.

*** This bug has been marked as a duplicate of bug 1057174 ***