Problems deploying snapshot releases to Maven Central using Github workflows
Summary
I am trying to do a snapshot release of this repository/branch https://github.com/eclipse-fa3st/fa3st-codestyle/tree/feature/snapshots-deploy to Maven Central using Github workflows following the documentation at https://eclipse-cbi.github.io/cbi-website/best-practices/github-actions/central-portal/index.html#github-actions-workflow-example.
Unfortunately, this fails with 403 Forbidden.
I have been told that the Sonatype namespace as well as the secrets haven been created (on prject-level) eclipsefdn/emo-team/emo#646 (comment 3919420).
Steps to reproduce
Manually run the build workflow on branch feature/snapshots-deploy.
What is the current bug behavior?
Publishing fails with 403 Forbidden.
What is the expected correct behavior?
Publish should be successful.
Relevant logs and/or screenshots
Error: Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.7.0:publish (injected-central-publishing) on project fa3st-codestyle: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.eclipse.digitaltwin.fa3st:fa3st-codestyle:jar:javadoc:1.0.0-20250610.065034-1 from/to central (https://central.sonatype.com/repository/maven-snapshots/): status code: 403, reason phrase: Forbidden (403)
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
It is blocking the release of first snapshots and thereby any further development on the project.