Skip to content

Hand the Central credentials to central.sonatype.com on Maven 3.10 - #18

Merged
thomasdarimont merged 1 commit into
mainfrom
gh-17-snapshot-publishing-maven-3.10
Oct 4, 2026
Merged

thomasdarimont merged 1 commit into
mainfrom
gh-17-snapshot-publishing-maven-3.10

Conversation

@thomasdarimont

Copy link
Copy Markdown
Collaborator

Maven 3.10 offers the credentials of a settings server only to repositories declared with that id, and 'central' is also the id of Maven Central, so the snapshot and release uploads got none and failed with 401. Both workflows now add central.sonatype.com as a repository origin of the server setup-java writes.

Closes #17

Maven 3.10 offers the credentials of a settings server only to
repositories declared with that id, and 'central' is also the id of
Maven Central, so the snapshot and release uploads got none and failed
with 401. Both workflows now add central.sonatype.com as a repository
origin of the server setup-java writes.

Closes #17

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
@thomasdarimont
thomasdarimont merged commit a2057dd into main Oct 4, 2026
10 checks passed
@thomasdarimont
thomasdarimont deleted the gh-17-snapshot-publishing-maven-3.10 branch October 4, 2026 12:34
@thomasdarimont thomasdarimont self-assigned this Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distibution management config incomplete for maven 3.10

1 participant