https://bugzilla.redhat.com/show_bug.cgi?id=1438673
--- Comment #75 from Jonny Heggheim hegjon@gmail.com --- (In reply to gil cattaneo from comment #71)
(In reply to Jonny Heggheim from comment #69)
(In reply to gil cattaneo from comment #68)
You should/must use the "%mvn_install" macro https://fedora-java.github.io/howto/latest/index.html#gradle e.g. %mvn_install -J build/sdk/docs/api
see https://fedora-java.github.io/howto/latest/index.html#mvn_file to configure the proper JARs install location.
I will look into %mvn_file and %mvn_install, are you sure that these macros are the best to use for openjfx, since most of the files are going to be installed to /usr/lib/jvm/openjfx (no files in /usr/share/java/)
Our gudeline is pretty clear about JARs installation see https://fedoraproject.org/wiki/Packaging:Java#Installation_directory othrewise you couls use mvn_file to set an alternative place or a symlinks if necessary "/usr/lib/jvm/openjfx" e.g. %mvn_file :@ /usr/lib/jvm/openjfx/@ not sure if this now work ask in fedora-java irc channel for a better implementation/configuration
The .jar/.so files in the openjfx packages should be "treated" as if they are part of the openjdk package.
For example, rt.jar is included in java-1.8.0-openjdk-headless and installed here /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/rt.jar without using %mvn_install.