Skip to content

chore(deps): update dependency maven-wrapper to v3.3.4#99

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/maven-wrapper-3.x
Open

chore(deps): update dependency maven-wrapper to v3.3.4#99
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/maven-wrapper-3.x

Conversation

@renovate

@renovate renovate Bot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
maven-wrapper (source) 3.1.03.3.4 age confidence

Release Notes

apache/maven-wrapper (maven-wrapper)

v3.3.4: 3.3.4

Compare Source

🐛 Bug Fixes

👻 Maintenance

v3.3.3: 3.3.3

Compare Source

💥 Breaking changes

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

📦 Dependency updates

v3.3.2: 3.3.2

Compare Source

Release Notes - Maven Wrapper - Version 3.3.2

Bug

  • [MWRAPPER-136] - maven-wrapper.properties created with Windows line breaks which mvnw can&#​39;t handle
  • [MWRAPPER-137] - Can&#​39;t match distributionUrl when using MINGW64
  • [MWRAPPER-139] - Shell scripts break on LF in config for Windows
  • [MWRAPPER-140] - only-script Type does not honor MAVEN_USER_HOME

Improvement

  • [MWRAPPER-141] - Use distribution type of existing Maven Wrapper by default

Task

  • [MWRAPPER-135] - Provide a reliable way to determine the Maven Wrapper type

What's Changed

  • Bump org.apache.maven.resolver:maven-resolver-api from 1.9.18 to 1.9.20 by @​dependabot in #​136
  • [MWRAPPER-135] Provide a reliable way to determine the Maven Wrapper type by @​breun in #​140
  • [MWRAPPER-141] Use distribution type of existing Maven Wrapper by default by @​breun in #​141
  • MWRAPPER-139: Remove trailing whitespace from fields in properties by @​ascopes in #​139
  • [MWRAPPER-140] only-script type does not honor MAVEN_USER_HOME by @​cstamas in #​142

New Contributors

Full Changelog: apache/maven-wrapper@maven-wrapper-3.3.1...maven-wrapper-3.3.2

v3.3.1: 3.3.1

Compare Source

Release Notes - Maven Wrapper - Version 3.3.1

Improvement

  • [MWRAPPER-132] - Inlined mvnw Downloader.java uses `new URL(String)`, which is deprecated in Java 21
  • [MWRAPPER-134] - Provide a reliable way to determine the Maven Wrapper version

What's Changed

  • [MWRAPPER-132][MWRAPPER-124] port MWRAPPER-124 fix to only-script by @​gzm55 in #​133
  • [MWRAPPER-134] Add wrapperVersion to maven-wrapper.properties by @​cstamas in #​135

Full Changelog: apache/maven-wrapper@maven-wrapper-3.3.0...maven-wrapper-3.3.1

v3.3.0: 3.3.0

Compare Source

Release Notes - Maven Wrapper - Version 3.3.0

Bug

  • [MWRAPPER-86] - Trim trailing slash in Repo URL
  • [MWRAPPER-103] - Failed to validate Maven Wrapper SHA-256 on Windows
  • [MWRAPPER-108] - mvnw script fails silently when download fails
  • [MWRAPPER-112] - Detection of JAVA_HOME fails due to bad quoting
  • [MWRAPPER-113] - Error and warning output goes to standard output and intermingles with Maven output
  • [MWRAPPER-120] - Maven wrapper plugin should not create wrapperUrl property for script-only mode
  • [MWRAPPER-123] - only-mvnw fails on ksh printf implementations
  • [MWRAPPER-131] - Downloader downloads directly into target file

Improvement

  • [MWRAPPER-70] - Don&#​39;t require a pom.xml
  • [MWRAPPER-104] - Add prettier config for shell scripts
  • [MWRAPPER-124] - MavenWrapperDownloader uses new URL(String), which is deprecated in Java 21
  • [MWRAPPER-125] - Make "only-script" the default wrapper

Task

Dependency upgrade


What's Changed

New Contributors

Full Changelog: apache/maven-wrapper@maven-wrapper-3.2.0...maven-wrapper-3.3.0

v3.2.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from filipowm April 10, 2026 06:01
@augmentcode

augmentcode Bot commented Apr 10, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Updates the Apache Maven Wrapper configuration and bootstrap scripts so the build uses a newer wrapper JAR and refreshed launcher logic.

Changes:

  • Bumps wrapperUrl in .mvn/wrapper/maven-wrapper.properties from 3.1.0 to 3.2.0
  • Regenerates mvnw and mvnw.cmd to the corresponding upstream wrapper scripts (labeled v3.2.0)
  • Adds a small verbose logging helper and improves wrapper URL parsing (including CRLF handling for wrapperUrl)
  • Adds optional SHA-256 validation controlled by wrapperSha256Sum in maven-wrapper.properties
  • Adjusts base-directory detection / path normalization and removes legacy M2_HOME-based logic

Technical Notes: The Maven distribution (distributionUrl) remains pinned to 3.6.1; the main change is the wrapper launcher JAR and its download/validation behavior.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 4 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread .mvn/wrapper/maven-wrapper.properties Outdated
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.mvn/wrapper/maven-wrapper.properties:18 pins wrapperUrl to maven-wrapper-3.2.0.jar, but this PR’s title/description indicate an upgrade to 3.3.4. This mismatch can be confusing and may miss fixes expected from the described version bump.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread mvnw Outdated
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] && [ -d "$JAVA_HOME" ] &&
JAVA_HOME="$(cd "$JAVA_HOME" || (echo "cannot cd into $JAVA_HOME."; exit 1); pwd)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mvnw:89 uses cd "$JAVA_HOME" || (echo ...; exit 1); pwd, but the exit runs in a subshell so pwd will still execute on failure, potentially setting JAVA_HOME to the current directory. That could lead to running with an incorrect JAVA_HOME rather than failing fast.

Severity: low

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread mvnw Outdated
# end of workaround
done
echo "${basedir}"
printf '%s' "$(cd "$basedir" || exit 1; pwd)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mvnw:157 does printf '%s' "$(cd "$basedir" ...; pwd)"; if .mvn isn’t found and basedir stays empty, cd "" resolves to $HOME and returns a non-empty path. That would bypass the later -z "$BASE_DIR" guard and make failures harder to diagnose.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread mvnw Outdated
# If specified, validate the SHA-256 sum of the Maven wrapper jar file
wrapperSha256Sum=""
while IFS="=" read -r key value; do
case "$key" in (wrapperSha256Sum) wrapperSha256Sum=$value; break ;;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mvnw:257 reads wrapperSha256Sum without stripping a trailing \r, while the earlier wrapperUrl parsing explicitly removes \r. On Windows/CRLF checkouts this can cause checksum validation to fail even with a correct hash.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@renovate renovate Bot force-pushed the renovate/maven-wrapper-3.x branch from 31c0b1c to ebb2fcb Compare May 18, 2026 18:02
@renovate

renovate Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: .mvn/wrapper/maven-wrapper.properties
Command failed: ./mvnw wrapper:wrapper -Dtype=script
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    96    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 429
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
Caused by: java.lang.ClassNotFoundException: org.apache.maven.wrapper.MavenWrapperMain

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.

0 participants