https://bugzilla.redhat.com/show_bug.cgi?id=1438673
--- Comment #71 from gil cattaneo puntogil@libero.it --- (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