I think the problem is identified. It only happens with Maven 3.9.9 which seems to be latest available package in centos-10 via yum.
In my Centos test environment I've manually installed the most recent Maven version 3.9.11.
With this, the previously failing build runs flawlessly:
[root@baa41a11f04f /]# /tmp/apache-maven-3.9.11/bin/mvn clean verify -X -f graph/pom.xml -Dproject.build.plugin.version=12.0.5
Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
Maven home: /tmp/apache-maven-3.9.11
Java version: 21.0.8, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/java-21-temurin-jdk
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "6.14.0-107028-tuxedo", arch: "amd64", family: "unix"
[DEBUG] Created new class realm maven.api
and later...
[INFO]
[INFO] --- ivy:12.0.5:installEngine (default-installEngine) @ msgraph-oauth-feature ---
[DEBUG] Loading mojo com.axonivy.ivy.ci:project-build-plugin:12.0.5:installEngine from plugin realm ClassRealm[extension>com.axonivy.ivy.ci:project-build-plugin:12.0.5, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@c387f44]
[DEBUG] Configuring mojo execution 'com.axonivy.ivy.ci:project-build-plugin:12.0.5:installEngine:default-installEngine' with basic configurator -->
[DEBUG] (f) autoInstallEngine = true
[DEBUG] (f) downloadUsingMaven = false
[DEBUG] (f) engineCacheDirectory = /root/.m2/repository/.cache/ivy
[DEBUG] (f) engineListPageUrl = https://developer.axonivy.com/download/maven.html
[DEBUG] (f) ivyVersion = 12.0.5
[DEBUG] (f) osArchitecture = Slim_All_x64
[DEBUG] (f) pluginRepositories = [sonatype (https://oss.sonatype.org/content/repositories/snapshots, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] (f) repositorySession = org.eclipse.aether.DefaultRepositorySystemSession@6acffb2d
[DEBUG] (f) useLatestMinor = false
[DEBUG] -- end configuration --
[INFO] Provide engine for ivy version 12.0.5
The manual installation procedure I used went like this:
curl -o /tmp/mvn3911.tar.gz https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.tar.gz
tar xzvf /tmp/mvn3911.tar.gz
# test it
/tmp/apache-maven-3.9.11/bin/mvn clean verify -X -f graph/pom.xml -Dproject.build.plugin.version=12.0.5