chore: migrate from OSSRH to Sonatype Central Portal#327
Merged
Conversation
Sonatype legacy OSSRH (s01.oss.sonatype.org) has been shut down, causing 405 errors on snapshot deploys. Migrate to Central Portal: - Replace nexus-staging-maven-plugin with central-publishing-maven-plugin - Update distributionManagement to use Central Portal snapshot URL - Update CI workflows to use server-id "central" - Remove obsolete OSSRH releases repository Note: repo secrets (SONATYPE_USERNAME/PASSWORD) must be replaced with new Central Portal tokens generated at https://central.sonatype.com. Snapshots must also be enabled for the namespace in the Portal UI. Signed-off-by: Hongxin Liang <[email protected]> Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Hongxin Liang <[email protected]>
29327ed to
7c20705
Compare
Member
Author
|
It cannot be worse, so I'm merging to try this out. |
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
nexus-staging-maven-pluginwithcentral-publishing-maven-plugin(0.10.0) in both rootpom.xmlandflytekit-bom/pom.xmldistributionManagementto use Central Portal snapshot URL (https://central.sonatype.com/repository/maven-snapshots/)build.yaml,release.yaml) to useserver-id: central<repositories>Required manual steps before merging
SONATYPE_USERNAME/SONATYPE_PASSWORDrepo secretsorg.flytenamespace in the Central Portal UITest plan
central-publishing-maven-plugin🤖 Generated with Claude Code