Skip to content

Pin Maven 3.9.16 for clean Central release bundles - #48

Merged
mikebarkmin merged 1 commit into
mainfrom
fix/pin-release-maven
Oct 7, 2026
Merged

mikebarkmin merged 1 commit into
mainfrom
fix/pin-release-maven

Conversation

@mikebarkmin

Copy link
Copy Markdown
Member

Maven Central rejects the 5.8.0 release because Maven 3.10 adds org/openpatch/scratch/maven-metadata-local.xml to the publishing bundle. The release runner recently changed from Maven 3.9.16 to 3.10.0, and updating the Central publishing plugin alone did not remove the extra entry.

Pin both release jobs to Maven 3.9.16 using a shared setup action with a fixed SHA-512 checksum. Print the Maven version before publication so the toolchain is visible in release logs.

Validation: reproduced the extra bundle entry with Maven 3.10.0 and confirmed it is absent with 3.9.16, using a local unreachable publishing endpoint. Executed the setup action's download, checksum verification, and version check locally.

@mikebarkmin
mikebarkmin merged commit 8823ea2 into main Oct 7, 2026
2 checks passed
@mikebarkmin
mikebarkmin deleted the fix/pin-release-maven branch October 7, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant