Description of problem: This came up in review of elasticsearch (#902086). The launcher script fails because build-classpath fails for some classes. It seems it is missing a dependency on xmvn: $ /usr/bin/build-classpath com.carrotsearch:hppc /usr/bin/build-classpath: Unable to execute xmvn-resolve. /usr/bin/build-classpath: Make sure that XMvn is installed and M2_HOME is set correctly. /usr/bin/build-classpath: error: Some specified jars were not found $ sudo dnf install /usr/bin/xmvn-resolve ... $ $ /usr/bin/build-classpath com.carrotsearch:hppc /usr/share/java/hppc.jar Version-Release number of selected component (if applicable): javapackages-tools-4.4.0-2.fc23.noarch
This is intentional. xmvn-resolve is optional dependency of bulid-classpath - typically build-classpath is used with JAR names as arguments (for example: hppc), but if you want to use it with artifact coordinates then you need to install xmvn-resolve yourself. This is to reduce dependencies for common use cases. I've just documented this dependency upstream in manual pages: https://github.com/mizdebsk/javapackages/commit/979b7790
Thanks, we'll add the dependency.