Skip to content

Migrate Maven publishing to Central Portal - #289

Merged
KosherJava merged 1 commit into
KosherJava:masterfrom
elijulian:central-portal-publish-config
Oct 21, 2026
Merged

KosherJava merged 1 commit into
KosherJava:masterfrom
elijulian:central-portal-publish-config

Conversation

@elijulian

Copy link
Copy Markdown
Contributor

Summary

  • Remove dead OSSRH <distributionManagement> from pom.xml
  • Add central-publishing-maven-plugin 0.12.0 (publishingServerId = central, autoPublish, waitUntil = published)
  • Keep source / javadoc / gpg plugins; leave version at 2.6.0-SNAPSHOT

Test plan

  • Confirm pom.xml validates and existing plugins are unchanged
  • After merge + Portal token/settings.xml, dry-run or deploy a SNAPSHOT/release via ./mvnw clean deploy

OSSRH shut down in June 2025; switch to central-publishing-maven-plugin
so future deploys can target Maven Central via the Publisher Portal.
@elijulian

Copy link
Copy Markdown
Contributor Author

@KosherJava Ready for maintainer review — this unblocks future Maven Central deploys after the OSSRH shutdown (no version bump; still on SNAPSHOT).

@KosherJava
KosherJava merged commit f6c15e1 into KosherJava:master Oct 21, 2026
3 checks passed
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.

2 participants