yaooqinn opened a new pull request, #50620:
URL: https://github.com/apache/spark/pull/50620

   
   
   ### What changes were proposed in this pull request?
   
   Use `-q` option to simplify Maven version evaluation
   
   
   ### Why are the changes needed?
   
   code simplification
   ### Does this PR introduce _any_ user-facing change?
   no, dev only
   
   
   ### How was this patch tested?
   ```
   ++ command -v /Users/hzyaoqin/spark/build/mvn
   + '[' '!' /Users/hzyaoqin/spark/build/mvn ']'
   + '[' false == true ']'
   ++ /Users/hzyaoqin/spark/build/mvn help:evaluate 
-Dexpression=project.version -Phive -Phive-thriftserver -Pyarn -Pkubernetes -q 
-DforceStdout
   Using `mvn` from path: /Users/hzyaoqin/spark/build/apache-maven-3.9.9/bin/mvn
   + VERSION=4.1.0-SNAPSHOT
   ++ /Users/hzyaoqin/spark/build/mvn help:evaluate 
-Dexpression=scala.binary.version -Phive -Phive-thriftserver -Pyarn 
-Pkubernetes -q -DforceStdout
   Using `mvn` from path: /Users/hzyaoqin/spark/build/apache-maven-3.9.9/bin/mvn
   + SCALA_VERSION=2.13
   ++ /Users/hzyaoqin/spark/build/mvn help:evaluate -Dexpression=hadoop.version 
-Phive -Phive-thriftserver -Pyarn -Pkubernetes -q -DforceStdout
   Using `mvn` from path: /Users/hzyaoqin/spark/build/apache-maven-3.9.9/bin/mvn
   + SPARK_HADOOP_VERSION=3.4.1
   ```
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   no


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to