You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci] deploy-to-maven-central fails after update to maven 3.10.0 #7153
(in other project) with maven 3.10.0 I had to add -Dmaven.repository.credentialScope=id
But I can't see anything like
[WARNING] Not using credentials of server central for repository
https://central.sonatype.com/repository/maven-snapshots/:
the origins declared for this id are [https://repo.maven.apache.org].
Add https://central.sonatype.com to <repositoryOrigins> of that server
in settings if these credentials belong there, or set
maven.repository.credentialScope=id
to restore legacy id-only credential matching.
in linked build so it's possible it is not the impact of apache/maven#12954...~
Activity
pzygielo commentedon Oct 6, 2026
(in other project) with maven 3.10.0 I had to add
-Dmaven.repository.credentialScope=idBut I can't see anything likein linked build soit's possible it isnotthe impact of apache/maven#12954...~Correction - I see it now: https://github.com/pmd/pmd/actions/runs/37220750624/job/111490468498#step:6:128
UncleOwen commentedon Oct 6, 2026
@pzygielo Thanks, that's very likely it.
adangel commentedon Oct 6, 2026
See actions/setup-java#1282 for the fix in setup java.
How the deployment works here:
pmd/.github/workflows/publish-release.yml
Lines 93 to 101 in 732214e
pmd/pom.xml
Line 866 in 732214e
pmd/.github/workflows/publish-release.yml
Lines 109 to 110 in 732214e
pmd/.github/workflows/publish-release.yml
Lines 79 to 81 in 732214e
The generated settings.xml looks roughly like this:
(generated at https://github.com/actions/setup-java/blob/d0e6e4dbf773b98efde945f446d2099b2c0d8fd2/src/auth.ts#L285)
[-]deploy-to-maven-central keeps failing[/-][+][ci] deploy-to-maven-central fails after update to maven 3.10.0[/+]chore(deps): bump actions/setup-java from 6.0.1 to 6.1.0 (pmd#7190)