gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
189 stars 39 forks source link

Reachability metadata repository support? #472

Open marinier opened 1 year ago

marinier commented 1 year ago

The graalvm native image maven plugin has supported their reachability metadata repository since version 0.9.12:

https://graalvm.github.io/native-build-tools/latest/maven-plugin.html#metadata-support

Does the gluonfx maven plugin support this? Or is there a way to configure the plugins to work together? This could greatly simplify configuration when using any of the supported libraries.

kristofdho commented 1 year ago

You can use the native:write-args-file goal of the native-build-tools, mentioned here: https://graalvm.github.io/native-build-tools/latest/maven-plugin.html#long_classpath_and_shading_support After that you can pass in the args file as native image argument to the gluonfx-maven-plugin. I have not tested it but that should work just fine.