This is an automated email from the ASF dual-hosted git repository. cstamas pushed a commit to branch MWRAPPER-103 in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git
commit e1562e76471127758ac9ec4ef87fba32c7427815 Author: Tamas Cservenak <ta...@cservenak.net> AuthorDate: Wed Apr 17 13:49:12 2024 +0200 [MWRAPPER-103] Workaround: demote check to Warning For start, instead to die off, let's demote the failure to warning level. --- https://issues.apache.org/jira/browse/MWRAPPER-103 --- maven-wrapper-distribution/src/resources/only-mvnw.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-wrapper-distribution/src/resources/only-mvnw.cmd b/maven-wrapper-distribution/src/resources/only-mvnw.cmd index 9edc540..f8e3c57 100644 --- a/maven-wrapper-distribution/src/resources/only-mvnw.cmd +++ b/maven-wrapper-distribution/src/resources/only-mvnw.cmd @@ -124,7 +124,7 @@ if ($distributionSha256Sum) { Write-Error "Checksum validation is not supported for maven-mvnd. `nPlease disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." } if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) { - Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property." + Write-Warning "Warning: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property." } }