Skip to content

Migrate publishing from OSSRH to Maven Central#305

Merged
yashmahamulkar-bs merged 1 commit intomasterfrom
maven-central-migration
Mar 27, 2026
Merged

Migrate publishing from OSSRH to Maven Central#305
yashmahamulkar-bs merged 1 commit intomasterfrom
maven-central-migration

Conversation

@yashmahamulkar-bs
Copy link
Copy Markdown
Contributor

This pull request updates the Maven project configuration to use the new Sonatype Central infrastructure for publishing releases, replacing the older OSSRH (OSS Repository Hosting) endpoints and plugins. The changes ensure that artifacts are deployed to the correct repository and use the latest publishing tools.

Repository and deployment configuration updates:

  • Updated the distributionManagement section in pom.xml to use the new central repository IDs and URLs for both releases and snapshots, replacing all references to ossrh and its URLs.
  • Changed the Maven publishing workflow in .github/workflows/release.yml to use the central server ID instead of ossrh.

Publishing plugin migration:

  • Replaced the deprecated nexus-staging-maven-plugin with the new central-publishing-maven-plugin in pom.xml, updating group ID, artifact ID, version, and plugin configuration to match the new publishing process.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yashmahamulkar-bs yashmahamulkar-bs merged commit 9c70e4b into master Mar 27, 2026
11 checks passed
@yashmahamulkar-bs yashmahamulkar-bs deleted the maven-central-migration branch March 27, 2026 10:18
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.

3 participants