Skip to main content

Java SDK publishing flow updated for Maven Central migration

· One min read

Sonatype has announced the retirement of OSSRH (including oss.sonatype.org and s01.oss.sonatype.org) on June 30, 2025. All Java packages must be published via the Sonatype Central Portal moving forward.

To support this change, APIMatic has updated the Java SDK publishing workflow.

Details

The following changes have been made to the Java SDKs and the SDK publishing workflow:

  • Plugin Configuration: Updated the pom.xml to use central-publishing-maven-plugin in place of legacy OSSRH plugins.
  • Publishing Status: Updated the publishing status behavior. A Success status now indicates that Maven Central validation has passed and the package has been delivered to Maven Central. To verify the publishing status, users should check the deployments page on Maven Central.
  • Authentication Method: Switched from OSSRH credentials to Central Portal user tokens for publishing authentication.