Skip to content

chore: migrate from OSSRH to Sonatype Central Portal#327

Merged
honnix merged 1 commit intomasterfrom
chore/migrate-central-portal
Mar 24, 2026
Merged

chore: migrate from OSSRH to Sonatype Central Portal#327
honnix merged 1 commit intomasterfrom
chore/migrate-central-portal

Conversation

@honnix
Copy link
Member

@honnix honnix commented Mar 24, 2026

Summary

  • Replace nexus-staging-maven-plugin with central-publishing-maven-plugin (0.10.0) in both root pom.xml and flytekit-bom/pom.xml
  • Update distributionManagement to use Central Portal snapshot URL (https://central.sonatype.com/repository/maven-snapshots/)
  • Update CI workflows (build.yaml, release.yaml) to use server-id: central
  • Remove obsolete OSSRH releases repository from <repositories>

Required manual steps before merging

  1. Generate new Central Portal tokens at https://central.sonatype.com and update SONATYPE_USERNAME / SONATYPE_PASSWORD repo secrets
  2. Enable snapshots for the org.flyte namespace in the Central Portal UI

Test plan

  • Verify snapshot deploy works after updating repo secrets
  • Verify release workflow works with central-publishing-maven-plugin

🤖 Generated with Claude Code

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]>
@honnix honnix force-pushed the chore/migrate-central-portal branch from 29327ed to 7c20705 Compare March 24, 2026 18:06
@honnix honnix marked this pull request as ready for review March 24, 2026 21:05
@honnix
Copy link
Member Author

honnix commented Mar 24, 2026

It cannot be worse, so I'm merging to try this out.

@honnix honnix merged commit 4ac6a76 into master Mar 24, 2026
4 checks passed
@honnix honnix deleted the chore/migrate-central-portal branch March 24, 2026 21:07
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.

1 participant