Red Hat Bugzilla – Bug 982623
xmvn: Wrong java path used by xmvn in search for tools.jar
Last modified: 2013-09-04 21:35:39 EDT
Description of problem:
XMvn appears to be using an incorrect java home path when looking for tools.jar. Building projects with mvn-rpmbuild produces this error:
Could not find artifact com.sun:tools:jar:1.5.0 at specified path /usr/lib/jvm/java-1.7.0-openjdk-126.96.36.199.x86_64/jre/../lib/tools.jar
The path to tools.jar is incorrect.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Fixed in xmvn-0.5.0-5
xmvn-0.5.0-5.fc19 has been submitted as an update for Fedora 19.
I have tagged xmvn-0.5.0-5.fc19 into f19-override.
javapackages-tools-0.15.0-2.fc19 has been submitted as an update for Fedora 19.
javapackages-tools-0.15.0-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
I believe that this bug is fixed in javapackages-tools-0.15.0-2,
which is available in updates for Fedora 19, so I am closing this bug now.
The build containing the fix can be found at Koji:
xmvn-0.5.0-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.