diff --git a/pom.xml b/pom.xml index f8f6059d..2162a332 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 - } + + +