Skip to content

chore: migrate Sonatype publishing to central-publishing-maven-plugin#4833

Open
Copilot wants to merge 1 commit into
masterfrom
copilot/update-sonatype-release-action
Open

chore: migrate Sonatype publishing to central-publishing-maven-plugin#4833
Copilot wants to merge 1 commit into
masterfrom
copilot/update-sonatype-release-action

Conversation

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

The legacy OSSRH staging approach (ossrh-staging-api.central.sonatype.com) is EOL. This migrates to the officially supported central-publishing-maven-plugin (v0.10.0) and removes the manual curl publish trigger.

pom.xml

  • Drop legacy OSSRH <repository> from distributionManagement; snapshot repo id ossrhcentral
  • Add central-publishing-maven-plugin 0.10.0 to pluginManagement
  • Add plugin to release-sign-artifacts profile with extensions=true, autoPublish=true, waitUntil=published — takes over the deploy lifecycle and handles full publish cycle via Central Portal API

release.yml

  • server-id: ossrhcentral
  • Remove manual curl POST to ossrh-staging-api.central.sonatype.com/manual/upload (now handled by autoPublish=true)
  • Env vars: OSSRH_USERNAME/OSSRH_TOKENCENTRAL_USERNAME/CENTRAL_TOKEN

snapshot.yml

  • server-id: ossrhcentral; env vars renamed to match

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 25, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 25, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: brendandburns / name: Brendan Burns (a1ecf0d)

@kubernetes-prow kubernetes-prow Bot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Jun 25, 2026
Copilot AI changed the title chore: migrate Sonatype release to central-publishing-maven-plugin chore: migrate Sonatype publishing to central-publishing-maven-plugin Jun 25, 2026
@kubernetes-prow kubernetes-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 25, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, Copilot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 25, 2026
@brendandburns brendandburns marked this pull request as ready for review June 25, 2026 16:51
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 25, 2026
@kubernetes-prow kubernetes-prow Bot requested a review from brendandburns June 25, 2026 16:51
@brendandburns brendandburns force-pushed the copilot/update-sonatype-release-action branch from 5392c1c to a1ecf0d Compare June 26, 2026 22:11
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants