https://bugzilla.redhat.com/show_bug.cgi?id=1023116
--- Comment #8 from Stanislav Ochotnicky <sochotni(a)redhat.com> ---
Removing the absolute path (_jnidir} from mvn_file creates this:
[INFO] ===============================================
[INFO] SOURCE ARTIFACT:
[INFO] groupId: org.apache.hadoop
[INFO] artifactId: hadoop-common
[INFO] extension: jar
[INFO] classifier:
[INFO] version: 2.2.0
[INFO] stereotype: native
[INFO] namespace:
[INFO] file:
/builddir/build/BUILD/hadoop-common-2e01e27e5ba4ece19650484f646fac42596250ce/hadoop-common-project/hadoop-common/target/hadoop-common-2.2.0.jar
[INFO] -----------------------------------------------
[INFO] TARGET ARTIFACT:
[INFO] groupId: JPP
[INFO] artifactId: hadoop-common
[INFO] extension: jar
[INFO] classifier:
[INFO] version: SYSTEM
[INFO] stereotype: native
[INFO] namespace:
[INFO] file: usr/lib/java/hadoop-common.jar
[INFO] -----------------------------------------------
[INFO] TARGET ARTIFACT:
[INFO] groupId: JPP/../hadoop/common
[INFO] artifactId: hadoop-common
[INFO] extension: jar
[INFO] classifier:
[INFO] version: SYSTEM
[INFO] stereotype: native
[INFO] namespace:
[INFO] file: usr/lib/java/../hadoop/common/hadoop-common.jar
[INFO] ===============================================
i.e. XMvn correctly places hadoop-common.jar into _jnidir, but the second part
has incorrect path that has usr/lib/java prefix and then relative path against
usr/share/java. Configuration generated in this case by mvn_file is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://fedorahosted.org/xmvn/CONFIG/0.6.0">
<!--XMvn configuration file generated by javapackages.xmvn_config (part of
javapackages-tools)-->
<artifactManagement>
<rule>
<artifactGlob>
<artifactId>hadoop-common</artifactId>
<classifier>{}</classifier>
</artifactGlob>
<files>
<file>hadoop-common</file>
<file>../hadoop/common/hadoop-common</file>
</files>
</rule>
</artifactManagement>
</configuration
--
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=cIV7SFinOF&a=cc_unsubscribe