From 2833122c07603f3badbfd352eeb8ba7b272d89b8 Mon Sep 17 00:00:00 2001 From: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jan 2022 16:46:30 -0500 Subject: [PATCH] :tada: Native image build configuration pom.xml --- pom.xml | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) diff --git a/pom.xml b/pom.xml index 2c97dd1..54c088b 100644 --- a/pom.xml +++ b/pom.xml @@ -29,6 +29,7 @@ + org.rrajesh1979.demo.CheckSum UTF-8 UTF-8 17 @@ -36,6 +37,180 @@ ${java.version} target + + 21.2.0 + 0.9.9 + + + org.graalvm.nativeimage + svm + ${graal.version} + provided + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + ${maven.compiler.source} + ${maven.compiler.target} + + + + + org.graalvm.buildtools + native-maven-plugin + ${native.maven.plugin.version} + + + + org.graalvm.nativeimage + native-image-maven-plugin + ${graal.version} + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + maven-surefire-plugin + 3.0.0-M5 + + + maven-failsafe-plugin + 3.0.0-M5 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + + + + + + + + + + + + + + + + + + + org.graalvm.buildtools + native-maven-plugin + ${native.maven.plugin.version} + true + + + build-native + + build + + package + + + release-native + + release + + release + + + + CheckSum-${project.version} + org.rrajesh1979.demo.CheckSum + + --no-fallback + -H:+ReportExceptionStackTraces + --verbose + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + ${project.artifactId}-${project.version} + + + + maven-surefire-plugin + + + + ${surefireArgLine} + + + + + + + + + + maven-failsafe-plugin + + + **/*Test.java + + native-image + + + + + integration-test + verify + + + + + + + \ No newline at end of file