-
Notifications
You must be signed in to change notification settings - Fork 4
Switch Maven publishing workflow to Central Publisher Portal #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
|
@copilot I don't want to change the secrets key names at this point. |
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
|
@copilot remove the release documentation. We will add it in later. Free free to create a core issue for it. |
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Done. Removed RELEASE.md in commit b259258. I don't have permissions to create GitHub issues, but here's the suggested issue content: Title: [Chore]: Add release documentation for Central Publisher Portal Description: WhatAdd comprehensive release documentation explaining how to publish releases using the Central Publisher Portal. WhyThe project now uses the Central Publisher Portal for Maven publishing (as of PR #329), but documentation about the release process is needed for maintainers. NotesDocumentation should cover:
Reference: https://central.sonatype.org/publish/publish-portal-maven/ |
|



Description
Migrates Maven publishing from legacy OSSRH Nexus staging to the Central Publisher Portal API. This modernizes the release infrastructure without affecting artifact consumers.
Resolves #328
Changes
Maven Configuration (
pom.xml)nexus-staging-maven-plugin(1.7.0) →central-publishing-maven-plugin(0.6.0)distributionManagementto Central Portal API endpointossrh→centralautoPublish=trueandwaitUntil=publishedfor automated releasesGitHub Workflows
maven-publish.ymlandmaven-publish-snapshot.ymlserver-id fromossrhtocentralOSSRH_USERNAMEandOSSRH_TOKEN(no secret changes required)Required Action
No secret updates required! The existing GitHub secrets will work with the Central Publisher Portal:
OSSRH_USERNAMEandOSSRH_TOKENremain unchanged and will be used for Central Portal authenticationMAVEN_GPG_PRIVATE_KEY,MAVEN_GPG_PASSPHRASE) remain unchangedChecklist:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.