Skip to content

Update Sonatype repository URLs for nexus publishing#7

Merged
ksletmoe merged 1 commit into
mainlinefrom
claude/debug-maven-publish-5g53m
Mar 14, 2026
Merged

Update Sonatype repository URLs for nexus publishing#7
ksletmoe merged 1 commit into
mainlinefrom
claude/debug-maven-publish-5g53m

Conversation

@ksletmoe

Copy link
Copy Markdown
Owner

Summary

Updates the Sonatype repository URLs used for publishing artifacts via the nexus publishing plugin to use the new Central Repository endpoints.

Key Changes

  • Updated nexusUrl from https://s01.oss.sonatype.org/service/local/ to https://ossrh-staging-api.central.sonatype.com/service/local/
  • Updated snapshotRepositoryUrl from https://s01.oss.sonatype.org/repositories/snapshots/ to https://central.sonatype.com/repository/maven-snapshots/

Details

These changes align with Sonatype's migration to the new Central Repository infrastructure. The updated URLs point to the new API endpoints for publishing releases and snapshots.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm

Sonatype's legacy OSSRH (s01.oss.sonatype.org) was shut down on
June 30, 2025. This updates the nexus-publish-plugin configuration
to use the OSSRH Staging API compatibility layer and the new Central
Portal snapshot repository.

NOTE: The SONATYPE_USERNAME and SONATYPE_PASSWORD GitHub secrets must
be replaced with new Portal user tokens generated at
https://central.sonatype.com. The old OSSRH credentials no longer work.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm
@ksletmoe ksletmoe merged commit 1960fbf into mainline Mar 14, 2026
2 checks passed
@ksletmoe ksletmoe deleted the claude/debug-maven-publish-5g53m branch March 14, 2026 05:52
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.

2 participants