Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,21 @@ jobs:
with open(os.environ["GITHUB_ENV"], "a") as f:
f.write("BITWIRE_VERSION=" + version + "\n")
PY
- name: Use the Maven version supported by the immutable release publisher
# The tagged POM pins Central publisher 0.11.0. Maven 3.10 adds local
# repository metadata that this plugin incorrectly puts in its bundle.
# Keep the tagged POM unchanged and use a verified Maven 3.9 distribution.
shell: bash
run: |
set -euo pipefail
archive="$RUNNER_TEMP/apache-maven-3.9.16-bin.tar.gz"
curl --fail --silent --show-error --location \
https://archive.apache.org/dist/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz \
--output "$archive"
echo "831a8591fe20c8243b1dbe7d71e3244f31d1665b0804b2e825e38cbbe5ce0cafb8338851f90780735568773e0a6cd07bbec107cda0b896b008b861075358b6f6 $archive" | sha512sum --check --strict
tar -xzf "$archive" -C "$RUNNER_TEMP"
"$RUNNER_TEMP/apache-maven-3.9.16/bin/mvn" --version
echo "$RUNNER_TEMP/apache-maven-3.9.16/bin" >> "$GITHUB_PATH"
- uses: actions/setup-java@v6
with:
distribution: temurin
Expand Down
11 changes: 11 additions & 0 deletions docs/releases/0.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,14 @@ consumers, release rehearsal and public installed-consumer verification.

This follows the owner's 4 November 2026 coordinated migration instruction.
Source delivery and package publication do not deploy existing services.

## Java publication toolchain

The immutable tag pins Central publishing plugin 0.11.0. The Java publication
workflow uses Apache Maven 3.9.16, verified against its published SHA-512, because
that plugin includes unwanted repository metadata when run with Maven 3.10.
Central rejected deployment `9255d311-0a31-4072-84a6-12aea33f3cbe` for that reason.
[Sonatype documents this incompatibility and its plugin fix](https://central.sonatype.org/publish/publish-portal-maven/#0120-13-oct-2026).
The workflow correction retains the tagged POM, package source, signing checks
and fresh public-registry consumer gate. Future source releases can update the
publishing plugin as part of their own reviewed package change.
Loading