File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,19 @@ The following configuration options are available:
5555----
5656<skipNativeBuild>true</skipNativeBuild>
5757----
58+ `<skipNativeBuildForPom>`::
59+ To skip generation of the native image only for Maven projects with `pom` packaging, use
60+ `<skipNativeBuildForPom>`. This option defaults to `false` for compatibility. It is useful in
61+ multi-module builds where a parent aggregator POM shares the native profile or plugin
62+ configuration with child modules but does not contain the application main class. Enabling this
63+ option prevents native image generation in the aggregator project while still allowing
64+ application modules to build their native images. It does not select the application module
65+ automatically; configure or run the native build in the module that owns the main class. To
66+ enable it, add:
67+ [source,xml, role="multi-language-sample"]
68+ ----
69+ <skipNativeBuildForPom>true</skipNativeBuildForPom>
70+ ----
5871`<skipNativeTests>`::
5972 To skip generation and execution of the native image compiled tests, add:
6073[source,xml, role="multi-language-sample"]
You can’t perform that action at this time.
0 commit comments