Skip to content

Update Maven Wrapper to 3.3.4 and Maven to 3.9.16#503

Merged
ppkarwasz merged 1 commit into
mainfrom
feat/upgrade-maven-wrapper
Jul 24, 2026
Merged

Update Maven Wrapper to 3.3.4 and Maven to 3.9.16#503
ppkarwasz merged 1 commit into
mainfrom
feat/upgrade-maven-wrapper

Conversation

@ppkarwasz

Copy link
Copy Markdown
Member

Upgrades the Maven Wrapper to 3.3.4 and the Maven distribution to 3.9.16, generated with:

mvn wrapper:wrapper -Dmaven=3.9.16 -DdistributionSha256Sum=...

Changes

  • Wrapper 3.2.0 -> 3.3.4, using the only-script distribution type: no more binary maven-wrapper.jar, mvnw downloads the Maven distribution itself.
  • Maven 3.9.0 -> 3.9.16, with the distribution SHA-256 checksum pinned via distributionSha256Sum.
  • New .gitattributes entries for the wrapper scripts: mvnw.cmd must be checked out with CRLF line endings for cmd.exe, and without an attribute the core.autocrlf setting of the committer decides what lands in the repository.

Switch to the script-only distribution type, pin the distribution
SHA-256 checksum and protect the line endings of the wrapper scripts
in `.gitattributes` (`mvnw.cmd` must keep CRLF for `cmd.exe`).
@ppkarwasz
ppkarwasz merged commit 40e72db into main Jul 24, 2026
8 checks passed
@ppkarwasz
ppkarwasz deleted the feat/upgrade-maven-wrapper branch July 24, 2026 19:01
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.

2 participants