mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
3 hours ago d9d626c0d2d932b664fd7893673af83e96cd68e9
refs
author Valery Kharseko <vharseko@3a-systems.ru>
Friday, November 6, 2026 13:50 +0100
committer GitHub <noreply@github.com>
Friday, November 6, 2026 13:50 +0100
commitd9d626c0d2d932b664fd7893673af83e96cd68e9
tree 8acfe21deee54e2d793e19437fcfdf3462af0df0 tree | zip | gz
parent 57e6dc2d574c85e5b10d6ef0c65a46c28af590f6 view | diff
[#325] Upgrade Central publishing plugin and remove Maven 3.9 pin (#1278)

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](https://central.sonatype.org/publish/publish-portal-maven/#0120-13-oct-2026)
and [upstream
fix](https://github.com/sonatype-nexus-community/central-publishing-maven-plugin/pull/3).

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.
2 files modified
13 ■■■■■ changed files
.github/workflows/release.yml 11 ●●●●● diff | view | raw | blame | history
pom.xml 2 ●●●●● diff | view | raw | blame | history