Announcement: OSSRH sunsetting, and migration to Maven Central

6 views
Skip to first unread message

G G (Tadgh)

unread,
Jun 26, 2025, 9:37:10 AMJun 26
to HAPI FHIR
As some of you may know, the Sonatype OSSRH (OSS Repository Hosting) service [will be sunsetted on June 30th].

This has historically been where the HAPI-FHIR project has published its `-SNAPSHOT` versions. As of version 8.3.12-SNAPSHOT, snapshot versions of HAPI-FHIR will instead be published to Maven central. HAPI-FHIR has as of last night EST migrated to Maven Central for snapshot publishing.

This means that for users relying on snapshots of HAPI-FHIR, you will have to change your maven `<repository>`  from OSSRH to Maven Central.

To do this, you should remove this repository from your pom.xml:
```xml

<repositories>
<repository>
<id>oss-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
```

and instead add this new snapshot repository for maven central:

```xml
<repository>
<id>oss-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
```

Note that while the migration from OSSRH to Maven Central is now complete, historical snapshots are not migrated. This means that come June 30th, only 8.3.12-SNAPSHOT and onward will be available. Please let me know if you have any questions.

G G (Tadgh)

unread,
Jun 26, 2025, 1:44:42 PMJun 26
to HAPI FHIR
My apologies, both of those snippets were the same! The new repository snippet should be: 

<repository>
  <name>Central Portal Snapshots</name>
  id>central-portal-snapshots</id>
  <url>https://central.sonatype.com/repository/maven-snapshots/</url>

  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>
Reply all
Reply to author
Forward
0 new messages