Repository navigation
ci: Pin Maven to 3.9.16 for builds - #82
Closed
claude[bot] wants to merge 1 commit into
Closed
claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
The ubuntu-latest runner image 20261004.327.1 upgraded Maven from 3.9.16 to 3.10.0. Since then, pre-release bundles fail Maven Central validation, even for a commit that previously validated. Download and verify Maven 3.9.16 instead of using the image's version, and log `mvn -v`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y7YD8x9feha2ydTUBbQyBv
|
|
This was referenced Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Kiel Frost · Slack thread
Before: Pre-release publishes have failed Maven Central validation since 2026-10-07. That matches the move of
ubuntu-latestfrom Maven 3.9.16 to 3.10.0 in runner image 20261004.327.1. The same commit, 20f555f, validated at 2026-10-07 05:32 UTC and has failed every nightly run since. #81 reverts all the 10-07 dependency changes, back to the last known-good tree, and it still fails. Every failing bundle is about 1.2 KB larger than the passing bundles built from the same source.After: The build downloads Maven 3.9.16 and checks its SHA-512 instead of using the runner image's Maven. It also logs
mvn -v. If this PR's pre-release publish validates, that confirms the cause.How: A new
Setup Mavenstep in.github/actions/build-test-pack-deploy/action.ymlfetches the Apache Maven 3.9.16 binary from archive.apache.org and checks its SHA-512. It then puts the binary first onPATH, ahead of the rest of the build. CI, PR and release builds all use this composite action, so they all get the pinned version. The alternative or follow-up is to bumpcentral-publishing-maven-pluginfrom 0.8.0 to 0.12.0 (released 2026-10-13), which may handle Maven 3.10, and then drop this pin.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y7YD8x9feha2ydTUBbQyBv
Generated by Claude Code