Update Sonatype repository URLs for nexus publishing#7
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Sonatype repository URLs used for publishing artifacts via the nexus publishing plugin to use the new Central Repository endpoints.
Key Changes
nexusUrlfromhttps://s01.oss.sonatype.org/service/local/tohttps://ossrh-staging-api.central.sonatype.com/service/local/snapshotRepositoryUrlfromhttps://s01.oss.sonatype.org/repositories/snapshots/tohttps://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