badass-jlink-plugin
badass-jlink-plugin copied to clipboard
Main module of secondary launched not added
When configuring a secondary launcher, its moduleName is not listed in the --add-modules option of jlink, and jpackage fails with an exception like:
java.lang.RuntimeException: jdk.jpackage.internal.ConfigException: "Failed to find XXXX module in module path"
(unless the module of the secondary launcher is a module dependency of main launcher module).
Could you consider fixing that ?
Current workaround is to configure a customImage with an explicit list of appModules.
Hello @HGuillemet, I will look into this when I find the time. Need to create a simple reproducer first to add to the plugin tests.