vibhatha commented on code in PR #40514:
URL: https://github.com/apache/arrow/pull/40514#discussion_r1533149882


##########
dev/release/verify-release-candidate.sh:
##########
@@ -468,6 +468,22 @@ install_conda() {
   conda activate base
 }
 
+maybe_setup_maven() {
+  MAVEN_VERSION=3.8.7
+  SYSTEM_MAVEN_VERSION=$(mvn -v | head -n 1 | awk '{print $3}')
+  if [[ $(echo "$SYSTEM_MAVEN_VERSION $MAVEN_VERSION" | awk '{print ($1 < 
$2)}') -eq 1 ]]; then

Review Comment:
   Would it work for the following
   
   ```bash
   # Desired Maven version
   MAVEN_VERSION="3.0.0-gamma-13"
   
   # System's Maven version
   SYSTEM_MAVEN_VERSION="3.0.0-delta-13"
   ```



-- 
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]

Reply via email to