[Announcement] Migration from Legacy OSSRH to Sonatype Central Portal

Dear Community,

As part of Sonatype’s infrastructure improvements, the Legacy OSSRH publishing process will be retired soon. To ensure continued availability of our artifacts in Maven Central, we are migrating our publishing workflow to the new Sonatype Central Portal.


:hammer_and_wrench: What’s Changing?

  • We will now publish artifacts using the Sonatype Central Portal instead of the Legacy OSSRH system.
  • The new process follows Sonatype’s latest publishing guidelines for better stability and security.
  • Snapshot artifacts published in Legacy OSSRH will not be available in the New Sonatype Central Snapshots Repository.
  • There will be no automatic redirect from oss.sonatype.org to the new snapshot repository due to technical limitations and to avoid confusion among other users.

:pushpin: What You Need to Do

For implementers / developers using RELEASE Versions:

  • No changes are required—our released artifacts will continue to be available on Maven Central as usual.

For implementers / developers SNAPSHOT Versions:


:magnifying_glass_tilted_left: How This Affects You

:white_check_mark: Artifact Availability: All released versions will continue to be available on Maven Central.

:white_check_mark: Improved Publishing Experience: The new system enhances security and reliability.

:warning: Snapshot Availability: Existing snapshots in Legacy OSSRH will not be migrated— if your build depends on an older SNAPSHOT version, please migrate to released version or upgrade to latest version.

:police_car_light: No Automatic Redirect: Update your repository URLs manually to avoid disruptions.


:tear_off_calendar: Migration Timeline

We have started working on making the changes that are needed in our build configuration across projects. Once we are ready with the changes across all repositories, we will migrate our namespace to Sonatype Central Portal and merge the PRs. We will keep posting here once we finish each of the steps.


:link: Reference Links

  1. Sonatype Announcement
  2. Central Portal Publishing Guide
  3. Bahmni JIRA EPIC for migration details
  4. Reference PR for the changes to be done

If you have any questions or encounter issues, please post a comment here or reach out via any of our community channels. :rocket:

Thank you for your support!

@arjun @mksrom @ramashish @shivarachakonda @binduak @swetha184 @laxman @anandpatel @snehabagri @sushilp @sushmit @vmalini @dipakthapa @ramashish @mddubey @rrameshbtech @mddubey @iadksd @mwelazek @michaelbontyes @buvaneswariarun @sanjayap @florianrappl @apaule @mwelazek @tejakancherla @rabbott @gsluthra @wolf @mdg583 @akhilmalhotra @n0man @mohant @sanofersameera @soorya @deepthi @rohit.yawalkar @venu @atish1603 @grace @abhinab @binduak @mohant @sivareddy @gsluthra @akanter @gokul @rahu1ramesh @arshiya_sehzad @bennyange @shilpa @sthote @dmukungi

Just to confirm, this is just for Bahmni artifacts, not OpenMRS as a whole? (fyi @ibacher @dkayiwa @grace @mohant )

Potentially it affects the SDK, which is published through OSSRH, but all other OpenMRS artifacts are hosted on our Maven repo currently.

For what it’s worth, those OSSRH is definitely legacy, I can’t find an announcement of it being retired soon, as referenced above, but maybe I’m missing it? The link above seems to be about the self-hosted Nexus software product? Sonatype Nexus Repository 2 Sunsetting Information

Since the product itself is being sunset, OSSRH is being retired. We did had the same query, but we clarified this with Sonatype support team

Dear Community,

We are ready with the PR changes across repositories. This JIRA EPIC has details are PR links are available in the story cards.

We are planning to migrate the namespace on Tuesday 18th March 2025.

:pushpin: What You Need to Do

Please plan on upgrading your SNAPSHOT dependencies to the released version or to the latest version.

Hello Community,

The migration of the publish workflows to Central Sonatype portal is completed. You can find the latest SNAPSHOT versions of every artifact here.

For specific changes to repositories, please refer to this JIRA Card.

Please post here or on Slack community channels if you face any issues or need more information.

Thanks