Skip to content

[#325] Upgrade Central publishing plugin and remove Maven 3.9 pin - #1278

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:fix-central-publishing-0.12.0
Nov 6, 2026
Merged

vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:fix-central-publishing-0.12.0

Conversation

@vharseko

@vharseko vharseko commented Nov 6, 2026

Copy link
Copy Markdown
Member

Fixes OpenIdentityPlatform/commons#325.

Follows #1187 and OpenIdentityPlatform/commons#388.

Upgrade org.sonatype.central:central-publishing-maven-plugin from 0.11.0 to 0.12.0 and remove the Maven 3.9.16 installation step introduced by #1187. Releases use the runner's Maven again.

Version 0.12.0 removes the local-repository metadata, tracking files, and locks that Maven 3.10 writes into the staging directory, preventing Central's “Bundle has content that does NOT have a .pom file” rejection. See the official release notes and upstream fix.

Validation:

  • POM XML and workflow YAML parse; git diff --check passes.
  • Parent POM staging with Maven 3.10.0 / JDK 11, using a temporary release-version copy, dummy credentials, and deploy -N -DskipUpload=true completed successfully. The bundle contains exactly the parent POM and its four checksums, with no Maven metadata, tracking files, or locks. Nothing was uploaded to Central.

The full reactor and actual release workflow were not run.

@vharseko vharseko added bug dependencies Pull requests that update a dependency file CI labels Nov 6, 2026
@vharseko
vharseko requested a review from maximthomas November 6, 2026 12:39

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vharseko
vharseko merged commit d9d626c into OpenIdentityPlatform:master Nov 6, 2026
14 checks passed
@vharseko
vharseko deleted the fix-central-publishing-0.12.0 branch November 6, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug CI dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maven Central release fails under Maven 3.10: bundle has content without a .pom

2 participants