diff --git a/applications/parent/pom.xml b/applications/parent/pom.xml index e75a03f330b..fd80f4b88a9 100644 --- a/applications/parent/pom.xml +++ b/applications/parent/pom.xml @@ -26,7 +26,6 @@ 3.1.3-SNAPSHOT ../pom.xml - io.helidon.applications helidon-applications pom Helidon Applications Parent @@ -201,7 +200,6 @@ --add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.configure=ALL-UNNAMED - --static @@ -211,6 +209,32 @@ + + linux-native + + + Linux + + + + + + org.graalvm.buildtools + native-maven-plugin + + + build-native-image + + + --static + + + + + + + + helidon-cli diff --git a/archetypes/helidon/src/main/archetype/common/files/src/main/resources/META-INF/native-image/__dir__/native-image.properties.mustache b/archetypes/helidon/src/main/archetype/common/files/src/main/resources/META-INF/native-image/__dir__/native-image.properties.mustache new file mode 100644 index 00000000000..189dbcdaea4 --- /dev/null +++ b/archetypes/helidon/src/main/archetype/common/files/src/main/resources/META-INF/native-image/__dir__/native-image.properties.mustache @@ -0,0 +1 @@ +Args=--initialize-at-build-time={{package}} diff --git a/archetypes/helidon/src/main/archetype/common/native-image.xml b/archetypes/helidon/src/main/archetype/common/native-image.xml new file mode 100644 index 00000000000..725c30bb1db --- /dev/null +++ b/archetypes/helidon/src/main/archetype/common/native-image.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + files + + **/native-image/** + + + + diff --git a/archetypes/helidon/src/main/archetype/common/packaging.xml b/archetypes/helidon/src/main/archetype/common/packaging.xml index 30e9e33ef73..b4ff556e122 100644 --- a/archetypes/helidon/src/main/archetype/common/packaging.xml +++ b/archetypes/helidon/src/main/archetype/common/packaging.xml @@ -1,7 +1,7 @@