raphw commented on code in PR #58: URL: https://github.com/apache/maven-wrapper/pull/58#discussion_r936388381
########## maven-wrapper-distribution/src/resources/mvnw: ########## @@ -247,6 +247,21 @@ fi # End of extension ########################################################################################## +# If specified, validate the SHA-256 sum of the Maven wrapper jar file +wrapperSha256Sum="" +while IFS="=" read key value; do + case "$key" in (wrapperSha256Sum) wrapperSha256Sum=$value; break ;; + esac +done < "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties" Review Comment: I would think so, that's pretty basic. Also, the same logic is already applied in the script during download. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org