Build failed in Jenkins: java-mvn-enforcer #66
Shibboleth Jenkins
noreply at shibboleth.net
Fri Sep 25 13:12:59 UTC 2026
See <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/66/display/redirect?page=changes>
Changes:
[Rod Widdowson] JMVN-83 Warning about future enforcer API changes
------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - Rocky9-commits (i-097fa5a4e0514586a) (Rocky9-commits) in workspace <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://git.shibboleth.net/git/java-mvn-enforcer # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-mvn-enforcer
> git --version # timeout=10
> git --version # 'git version 2.52.0'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-mvn-enforcer +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 20cde51506d0b7ab5d723e22d04cec93e37d6422 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 20cde51506d0b7ab5d723e22d04cec93e37d6422 # timeout=10
Commit message: "JMVN-83 Warning about future enforcer API changes"
> git rev-list --no-walk efd27e669c4d92e22fb91d4becde82c8d71ecdcc # timeout=10
[java-mvn-enforcer] $ /opt/maven_home/bin/mvn -f parent/pom.xml -Dmaven.repo.local=<http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/.repository> -V clean -B -U deploy
Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5)
Maven home: /opt/maven_home
Java version: 17.0.20.1, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-17.0.20.10.1-linux-x64
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.14.0-687.41.1.el9_8.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO]
[INFO] ---< net.shibboleth.maven.enforcer.rules:maven-dist-enforcer-parent >---
[INFO] Building Shibboleth Maven Enforcer 2.0.2-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.5.0:clean (default-clean) @ maven-dist-enforcer-parent ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ maven-dist-enforcer-parent ---
[INFO]
[INFO] --- install:3.1.4:install (default-install) @ maven-dist-enforcer-parent ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/parent/pom.xml> to <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/.repository/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer-parent/2.0.2-SNAPSHOT/maven-dist-enforcer-parent-2.0.2-SNAPSHOT.pom>
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (M2-enforce) @ maven-dist-enforcer-parent ---
[WARNING] Provided pom <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/parent/pom.xml> had no parent
[INFO] Inferred M2 Root at <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/.repository>
[ERROR] enforcer-api 3.6.3 KeyId (0x3A387D43964143E3) not found in keyring for org.apache.maven.enforcer
[ERROR] maven-resolver-util 1.9.27 KeyId (0x3A387D43964143E3) not found in keyring for org.apache.maven.resolver
[ERROR] maven-resolver-spi 1.9.27 KeyId (0x3A387D43964143E3) not found in keyring for org.apache.maven.resolver
[ERROR] maven-resolver-impl 1.9.27 KeyId (0x3A387D43964143E3) not found in keyring for org.apache.maven.resolver
[ERROR] maven-resolver-named-locks 1.9.27 KeyId (0x3A387D43964143E3) not found in keyring for org.apache.maven.resolver
[INFO] Signature for plexus-container-default-1.0-alpha-9 found in classpath store.
[ERROR] plexus-sec-dispatcher 2.0 KeyId (0x8DC6F3D0ABDBD017) not found in keyring for org.codehaus.plexus
[INFO] Signature for bsh-2.0b4 found in classpath store.
[ERROR] sisu-maven-plugin 1.0.0 KeyId (0x3A387D43964143E3) not found in keyring for org.eclipse.sisu
[ERROR] org.eclipse.sisu.plexus 1.0.0 KeyId (0x3A387D43964143E3) not found in keyring for org.eclipse.sisu
[ERROR] org.eclipse.sisu.inject 1.0.0 KeyId (0x3A387D43964143E3) not found in keyring for org.eclipse.sisu
[ERROR] guice 5.1.0 (classes) KeyId (0x5E975CB00C643DBF) not found in keyring for com.google.inject
[INFO] Signature for javax.inject-1 found in classpath store.
[INFO] Signature for classworlds-1.1-alpha-2 found in classpath store.
[INFO] Signature for aopalliance-1.0 found in classpath store.
[ERROR] Signature check over ~m2 failed, check the file <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/parent/m2SignatureReport.txt>
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
Signature check over ~m2 failed, check the file <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/parent/m2SignatureReport.txt>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.503 s
[INFO] Finished at: 2026-09-25T13:12:58Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (M2-enforce) on project maven-dist-enforcer-parent: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Build step 'Invoke top-level Maven targets' marked build as failure
More information about the commits
mailing list