Skip to content

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

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.

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 #1165. Releases can use the runner's Maven again because 0.12.0 removes Maven 3.10 metadata, tracking files, and locks before bundling.

The fix is documented in the official 0.12.0 release notes and upstream PR #3. This applies the same update as commons #388.

Validation on Maven 3.10.0 / JDK 11:

  • Reproduced the old parent POM bundle's six unwanted repository files with plugin 0.11.0 and upload directed to a closed loopback port. With 0.12.0 and -DskipUpload=true, deploy -N succeeds and the bundle contains only the POM and its four checksums. Used a temporary release-version copy, dummy credentials, and skipped GPG signing.
  • POM XML and release workflow YAML parse, and git diff --check passes.

The full reactor and the GitHub release workflow were not run.

@vharseko vharseko added bug dependencies Pull requests that update a dependency file ci CI, GitHub Actions, or build pipeline labels Nov 6, 2026
@vharseko
vharseko requested a review from maximthomas November 6, 2026 12:39
@vharseko
vharseko merged commit 3e30d44 into OpenIdentityPlatform:master Nov 6, 2026
13 checks passed
@vharseko
vharseko deleted the fix-central-publishing-0.12.0 branch November 6, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ci CI, GitHub Actions, or build pipeline 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