Build failed in Jenkins: java-mvn-enforcer #81

Shibboleth Jenkins noreply at shibboleth.net
Sun Oct 18 15:12:08 UTC 2026


See <http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/81/display/redirect?page=changes>

Changes:

[Rod Widdowson] JMVN-90 Troubleshoot Maven artifact resolution errors


------------------------------------------
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 805e2bd7239312de4da72178d04033d115ee1478 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 805e2bd7239312de4da72178d04033d115ee1478 # timeout=10
Commit message: "JMVN-90 Troubleshoot Maven artifact resolution errors"
 > git rev-list --no-walk 6ff4e521752ebe5dd44663c3ffa46582a2a594b9 # 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...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-enforcer-plugin].dependencies.dependency.version' for net.shibboleth.maven.enforcer.rules:maven-dist-enforcer-data:jar must be a valid version but is '${maven-dist-enforcer-data.version}'. @ line 344, column 42
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project net.shibboleth.maven.enforcer.rules:maven-dist-enforcer-parent:2.0.3-SNAPSHOT (<http://127.0.0.1:1583/jenkins/job/java-mvn-enforcer/ws/parent/pom.xml)> has 1 error
[ERROR]     'build.plugins.plugin[org.apache.maven.plugins:maven-enforcer-plugin].dependencies.dependency.version' for net.shibboleth.maven.enforcer.rules:maven-dist-enforcer-data:jar must be a valid version but is '${maven-dist-enforcer-data.version}'. @ line 344, column 42
[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/ProjectBuildingException
Build step 'Invoke top-level Maven targets' marked build as failure


More information about the commits mailing list