Skip to content

fix(release): bump central-publishing-maven-plugin to 0.12.0 for Maven 3.10 compatibility - #955

Merged
alexandrepa merged 1 commit into
mainfrom
alexandrepa-bump-central-publishing-plugin
Oct 19, 2026
Merged

alexandrepa merged 1 commit into
mainfrom
alexandrepa-bump-central-publishing-plugin

Conversation

@alexandrepa

Copy link
Copy Markdown
Collaborator

Problem

The release workflow failed for tag v4.1.0-beta (run). Sonatype rejected every module with Bundle has content that does NOT have a .pom file.

Root cause

The GitHub ubuntu-24.04 runner image moved from Maven 3.9.16 (image 20260927.320) to Maven 3.10.0 (image 20261012.334). Maven 3.10.0 writes maven-metadata-local.xml and _remote.repositories into the staging repository. central-publishing-maven-plugin 0.11.0 does not remove these files, so they end up in the bundle.

The 4.0.1 release (Maven 3.9.16) logs Bundling - deleted .../maven-metadata-central-staging.xml lines. The failed run has none.

Sonatype fixed this in 0.12.0 (13 Oct 2026). See the Release Notes and sonatype-nexus-community/central-publishing-maven-plugin#1.

Change

Bumps org.sonatype.central:central-publishing-maven-plugin from 0.11.0 to 0.12.0 in the sonatypeDeploy profile. Nothing else changes.

Verified with mvn -N help:effective-pom -PsonatypeDeploy: the plugin resolves to 0.12.0.

…n 3.10 compatibility

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@alexandrepa
alexandrepa merged commit 147299d into main Oct 19, 2026
2 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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