Problem with publishing Jakarta Validation SNAPSHOTs to Maven Central
Summary
I'm getting
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.4:deploy (default-deploy) on project jakarta.validation-api: Failed to deploy artifacts: Could not transfer artifact jakarta.validation:jakarta.validation-api:pom:4.0.0-20251005.154822-1 from/to central-portal-snapshots (https://central.sonatype.com/repository/maven-snapshots): status code: 401, reason phrase: Unauthorized (401) -> [Help 1]
when trying to publish the snapshots to the Maven Central Snapshots repository.
Steps to reproduce
Attempt to run the snapshot publishing job on the Jakarta Validation CI: https://ci.eclipse.org/validation/job/jakarta-validation-api-publish-snapshot
What is the current bug behavior?
The job is failing with 401
What is the expected correct behavior?
The Jenkins build should be able to push artifacts to the snapshot repository.
Relevant logs and/or screenshots
https://ci.eclipse.org/validation/job/jakarta-validation-api-publish-snapshot/job/main/5/console
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
This is one of the Milestone 1 tasks, work fow which should be completed by October 15: https://github.com/jakartaee/validation/issues/291