https://bugzilla.redhat.com/show_bug.cgi?id=1127804
Bug ID: 1127804
Summary: ivy artifacts with type,ext,classifier resolve
incorrectly
Product: Fedora
Version: rawhide
Component: xmvn
Severity: high
Assignee: mizdebsk(a)redhat.com
Reporter: pmackinn(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com
Created attachment 924940
-->
https://bugzilla.redhat.com/attachment.cgi?id=924940&action=edit
debug from ivy build
Basically it looks like something wrong with this kind of ivy dependency
declaration:
<dependency org="org.apache.hadoop" name="hadoop-hdfs"
rev="${hadoop-0.23.version}"
conf="hadoop0.23.shim->default">
<artifact name="hadoop-hdfs" type="tests"
ext="jar"
m:classifier="tests"/>
...
This will resolve to the hadoop-hdfs.jar, not the hadoop-hdfs-tests jar. It's
as if the hadoop-hdfs jar is computed as a compat for the tests version.
[ivy:retrieve] retrieving /usr/share/java/hadoop/hadoop-hdfs.jar
[ivy:retrieve] to
/home/pmackinn/rpmbuild/BUILD/hive-release-0.12.0/build/ivy/lib/hadoop0.23.shim/hadoop-hdfs-SYSTEM-tests.jar
25958 2523 /usr/share/java/hadoop/hadoop-hdfs-tests.jar
14226 6667 /usr/share/hadoop/hdfs/hadoop-hdfs.jar
14226 6667
../BUILD/hive-release-0.12.0/build/ivy/lib/hadoop0.23.shim/hadoop-hdfs-SYSTEM-tests.jar
--
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=42BtUhumep&a=cc_unsubscribe