Hide Forgot
Description of problem: I have an application that uses maven-invoker to run a maven command. This application runs in a minimal Fedora container, where which is not installed. Since maven-invoker uses /usr/share/maven/bin/mvn and this file contains calls to "which", maven-invoker is unable to run maven, since the script fails. Version-Release number of selected component (if applicable): maven-3.3.9-4.fc24.noarch How reproducible: Always. Steps to Reproduce: 1. Create a simple Java app that uses maven-invoker to invoke any maven command. 2. Run it. 3. Observe the failure below. Actual results: /usr/share/maven/bin/mvn: line 143: which: command not found /usr/share/maven/bin/mvn: line 171: which: command not found Error: JAVA_HOME is not defined correctly. We cannot execute Expected results: <no errors> Additional info: None.
Fixed in javapackages-tools-4.7.0-9
Fixed upstream, https://github.com/fedora-java/javapackages/commit/fc595fb352f58a7840737a3b0a8e7c5e2b2300de
Thanks for the quick reaction!
javapackages-tools-4.7.0-6.1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba2b96fc5b
javapackages-tools-4.6.0-15.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fcc1da5541
javapackages-tools-4.7.0-6.1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba2b96fc5b
javapackages-tools-4.6.0-15.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fcc1da5541
javapackages-tools-4.6.0-15.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
javapackages-tools-4.7.0-6.1.fc25 has been pushed to the Fedora 25 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-4.6.0-15, which is available in updates Fedora 24, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=818652