I'm missing a project to reproduce the issue, but I would expect that adding 
<scope>provided</scope> on those dependencies would fix it.

Robert
On 1-4-2021 08:16:06, Abhinay Agarwal <abhinay_agar...@live.com> wrote:
Hi,

I tried to create runtime images for JavaFX applications using 
maven-jlink-plugin. The jlink:jlink goal fails as some JavaFX dependencies are 
"Automatic Modules". More information on this can be found here: 
https://github.com/abhinayagarwal/maven-jlink-plugin-javafx/blob/master/README.md

maven-jlink-plugin extracts all the modules from the module-path and adds them 
to the `--add-modules` list. The existing JavaFX Maven plugin adds only the 
base module to the `--add-modules` list overcoming this issue.

It would be great if the plugin can be extended to create runtimes for JavaFX 
applications.

Best regards,
Abhinay

Reply via email to