sdedic opened a new pull request, #5396: URL: https://github.com/apache/netbeans/pull/5396
Starting from Micronaut 3.8.x, micronaut plugins configure execution for `compile` goal rather than for the (now deprecated) `build` goal of the Graalvm native-image plugin. This PR allows to detect native compilation in older AND newer project setups. Instead of just `build` all the 'building' goals are checked: according to [the documentation](https://graalvm.github.io/native-build-tools/latest/maven-plugin.html) and `mvn help:describe`: ``` native:add-reachability-metadata Description: (no description available) native:build Description: (no description available) native:compile Description: (no description available) native:compile-no-fork Description: (no description available) native:generateResourceConfig Description: (no description available) native:generateTestResourceConfig Description: (no description available) native:merge-agent-files Description: (no description available) native:test Description: (no description available) ``` the following should produce a binary: * native:build * native:compile * native:compile-no-fork Goals in execution config are unprefixed, while in actions, they can (or must?) carry plugin shortcut or prefix, so I check the configured goals against set of triggers that contains both unprefixed and prefixed goal names. The default goal execution changed in plugin 0.9.14; before that, only `build` and `compile` were present. Now `build` is deprecated in favour of `compile-no-fork` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
