From 6cf4e92bf7db31c0aca5f0dda6c3158f635414bf Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Wed, 9 Oct 2024 11:12:11 +0200 Subject: [PATCH] Bump native-maven-plugin from 0.10.2 to 0.10.3 (#1144) The plugin introduced some "windows fix"[1] that causes current arg parsing to fail. Solution seems to be to split each arg in own line, but that introduced another set of challenges. [1] https://github.com/graalvm/native-build-tools/pull/609 Supersedes https://github.com/apache/maven-mvnd/pull/1135 --- client/pom.xml | 58 ++++++++++++++++++++++++++------------- integration-tests/pom.xml | 4 +-- pom.xml | 2 +- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/client/pom.xml b/client/pom.xml index bbfb836b..7d2978fc 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -32,8 +32,6 @@ 11 - - true @@ -190,9 +188,19 @@ !mac - - -H:+StaticExecutableWithDynamicLibC - + + + + org.graalvm.buildtools + native-maven-plugin + + + -H:+StaticExecutableWithDynamicLibC + + + + + @@ -206,11 +214,23 @@ - -H:CCompilerPath=${basedir}/src/main/resources/glibc/gcc - -H:CCompilerOption=-B${project.build.directory}/graalvm-libs-for-glibc-2.12 - -H:CLibraryPath=${project.build.directory}/graalvm-libs-for-glibc-2.12 false + + + + org.graalvm.buildtools + native-maven-plugin + + + -H:CCompilerPath=${basedir}/src/main/resources/glibc/gcc + -H:CCompilerOption=-B${project.build.directory}/graalvm-libs-for-glibc-2.12 + -H:CLibraryPath=${project.build.directory}/graalvm-libs-for-glibc-2.12 + + + + + @@ -227,17 +247,17 @@ false org.mvndaemon.mvnd.client.DefaultClient mvnd - --no-fallback - -march=compatibility - -H:+UnlockExperimentalVMOptions - ${graalvm-native-static-opt} - ${graalvm-native-glibc-opt} - -H:IncludeResources=org/mvndaemon/mvnd/.* - -H:IncludeResources=mvnd-bash-completion.bash - -H:-ParseRuntimeOptions - -H:+AddAllCharsets - -H:+ReportExceptionStackTraces - -ea + + --no-fallback + -march=compatibility + -H:+UnlockExperimentalVMOptions + -H:IncludeResources=org/mvndaemon/mvnd/.* + -H:IncludeResources=mvnd-bash-completion.bash + -H:-ParseRuntimeOptions + -H:+AddAllCharsets + -H:+ReportExceptionStackTraces + -ea + diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 6aff18ee..4f296874 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -106,7 +106,7 @@ none - mvn-39 + java-test test @@ -192,7 +192,7 @@ maven-failsafe-plugin - native-39 + native-test integration-test verify diff --git a/pom.xml b/pom.xml index 45dbb7ea..71a47048 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ 1.27.1 24.1.0 - 0.10.2 + 0.10.3 4.0.23 1.0 3.27.0