diff --git a/applications/mp/pom.xml b/applications/mp/pom.xml index c6426da394a..a0b4354dd5c 100644 --- a/applications/mp/pom.xml +++ b/applications/mp/pom.xml @@ -77,14 +77,12 @@ generateResourceConfig - package build-native-image compile - package diff --git a/applications/parent/pom.xml b/applications/parent/pom.xml index 36d23725a11..9a42ab79e65 100644 --- a/applications/parent/pom.xml +++ b/applications/parent/pom.xml @@ -184,6 +184,7 @@ resource-config + package true @@ -191,6 +192,7 @@ build-native-image + package true @@ -214,6 +216,58 @@ + + native-image-skip + + + native.image.skip + + + + + + org.graalvm.buildtools + native-maven-plugin + + + resource-config + none + + + build-native-image + none + + + + + + + + native-image-static + + + native.image.buildStatic + + + + + + org.graalvm.buildtools + native-maven-plugin + + + build-native-image + + + --static + + + + + + + + helidon-cli diff --git a/applications/se/pom.xml b/applications/se/pom.xml index e9c9af563ff..214411c0e7e 100644 --- a/applications/se/pom.xml +++ b/applications/se/pom.xml @@ -66,14 +66,12 @@ generateResourceConfig - package build-native-image compile - package diff --git a/examples/quickstarts/helidon-quickstart-se/Dockerfile.native b/examples/quickstarts/helidon-quickstart-se/Dockerfile.native index d411da6f4a6..991ca332494 100644 --- a/examples/quickstarts/helidon-quickstart-se/Dockerfile.native +++ b/examples/quickstarts/helidon-quickstart-se/Dockerfile.native @@ -33,7 +33,7 @@ WORKDIR /helidon # Incremental docker builds will always resume after that, unless you update # the pom ADD pom.xml . -RUN mvn clean package -Pnative-image -Dnative.image.skip -Dmaven.test.skip -Declipselink.weave.skip +RUN mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip -Declipselink.weave.skip # Do the Maven build! # Incremental docker builds will resume here when you change sources