Skip to content

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

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, the latest release published to Maven Central. It removes Maven 3.10 local-repository metadata, tracking files, and locks before bundling, fixing Central's “Bundle has content that does NOT have a .pom file” rejection. Remove the Maven 3.9.16 setup introduced by #254, following OpenIdentityPlatform/commons#388.

The fix is documented in the official 0.12.0 release notes and upstream PR #3.

Validation:

  • Maven 3.10.0 / JDK 17: parent-only deploy -N using a temporary release-version copy and -DskipUpload=true passed. The bundle contains 5 artifact/checksum files and no repository metadata, tracking files, or locks. Nothing was published to Central.
  • Parsed the POM XML and workflow YAML, checked that the Maven pin is the only workflow change, and ran git diff --check.
  • Full application test suites were not run for these build-configuration changes.

@vharseko vharseko added bug Something isn't working dependencies Pull requests that update a dependency file ci CI/CD, build and release workflows labels Nov 6, 2026
@vharseko
vharseko requested a review from maximthomas November 6, 2026 12:39
@vharseko
vharseko merged commit 1f458eb into OpenIdentityPlatform:master Nov 6, 2026
9 of 11 checks passed
@vharseko
vharseko deleted the fix-central-publishing-0.12.0 branch November 6, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci CI/CD, build and release workflows 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