felipepessoto commented on code in PR #13669: URL: https://github.com/apache/gluten/pull/13669#discussion_r4648510160
########## docs/developers/NewToGluten.md: ########## @@ -40,6 +40,16 @@ Gluten requires Maven 3.6.3 or above. `./build/mvn` uses the Maven version pinned in `pom.xml`, downloading it if needed and retrying transient download failures. +The wrapper reuses a matching system installation or its local installation under `build/.mvn`. +Otherwise, it downloads Maven from the official Apache CDN, falling back once +to the Apache archive if the distribution or its checksum is unavailable. +If the tarball is already cached, only the checksum is downloaded, including +on fallback. Every tarball must pass SHA-512 verification before extraction. +A missing, malformed, or mismatched checksum prevents installation; +a verification failure does not trigger a fallback. +Downloading requires `curl` or `wget` and either `sha512sum` (Linux) or +`shasum` (macOS). Existing installations do not require these tools. + Review Comment: Moved the source, fallback, and checksum details into a short comment in `build/mvn` in dafb4c927. The getting-started guide now keeps just the existing guidance on using the wrapper. ########## gluten-ut/test/src/test/bash/test_mvn_checkout_path.sh: ########## Review Comment: Agreed. I removed `test_mvn_checkout_path.sh` in dafb4c927 and kept the checkout-path reproduction in the PR’s testing notes. The wrapper still verifies and extracts the archive by basename. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
