You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "sdedic (via GitHub)" <gi...@apache.org> on 2023/01/31 14:29:14 UTC
[GitHub] [netbeans] sdedic opened a new pull request, #5396: React on both build and compile goals.
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net merged pull request #5396: React on both build and compile goals.
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net merged PR #5396:
URL: https://github.com/apache/netbeans/pull/5396
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists