From c6eac0f1508c580d3c177d8a0bb1871b961d32e6 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 23 Nov 2022 11:22:23 +0100 Subject: [PATCH] Fix usage of the wrong groovy plugin --- pom.xml | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/pom.xml b/pom.xml index d32021cbd..4cb4da855 100644 --- a/pom.xml +++ b/pom.xml @@ -487,8 +487,8 @@ limitations under the License. - org.codehaus.gmaven - groovy-maven-plugin + org.codehaus.gmavenplus + gmavenplus-plugin set-platform-properties @@ -497,24 +497,26 @@ limitations under the License. generate-sources - // Naming conventions coined by GraalVM - // https://github.com/graalvm/graalvm-ce-builds/releases/ - String osName = System.getProperty('os.name').toLowerCase(Locale.ROOT) - if (osName.startsWith('windows')) { - project.properties['os.detected.name'] = 'windows' - } else if (osName.startsWith('linux')) { - project.properties['os.detected.name'] = 'linux' - } else if (osName.startsWith('osx') || osName.startsWith('mac os x')) { - project.properties['os.detected.name'] = 'darwin' - } else { - project.properties['os.detected.name'] = osName - } - String osArch = System.getProperty('os.arch').toLowerCase(Locale.ROOT) - if (osArch.equals('amd64') || osArch.equals('x86_64')) { - project.properties['os.detected.arch'] = 'amd64' - } else { - project.properties['os.detected.arch'] = osArch - } + + +