Skip to content

Prepare for Central Portal deployment#13

Draft
bric3 wants to merge 2 commits intojava7from
bdu/migrate-to-central-portal
Draft

Prepare for Central Portal deployment#13
bric3 wants to merge 2 commits intojava7from
bdu/migrate-to-central-portal

Conversation

@bric3
Copy link

@bric3 bric3 commented Mar 3, 2026

Migrate publishing from OSSRH to Maven Central Portal

OSSRH (oss.sonatype.org) was shut down on June 30, 2025. This PR migrates the
release pipeline to the new Maven Central Portal using the central-publishing-maven-plugin.

Changes

  • Removed oss-parent (contributed distributionManagement pointing to the dead OSSRH URLs and a release-sign-artifacts profile already overridden locally)
  • Removed <distributionManagement> block
  • Replaced nexus-staging-maven-plugin by central-publishing-maven-plugin
  • Update the maven image to 3.9
  • SSM parameter names are kept unchanged for now; but they need to be updated.

Remaining tasks

  • Re-enable the CI ?
  • Possibly generate a Central Portal user token on https://central.sonatype.com
    Note that last year it wasn't possible to have multiple token, so do not regenerate existing if it's not possible to create another one — otherwise it will invalidate the previous tokens.
  • Store the token in AWS SSM

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