This is an automated email from the ASF dual-hosted git repository.

srowen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 169aa4bee95 [SPARK-45111][BUILD] Upgrade maven to 3.9.4
169aa4bee95 is described below

commit 169aa4bee950e2249d853f00b4e5fca67edfaa80
Author: yangjie01 <yangji...@baidu.com>
AuthorDate: Mon Sep 11 10:59:57 2023 -0500

    [SPARK-45111][BUILD] Upgrade maven to 3.9.4
    
    ### What changes were proposed in this pull request?
    This PR aims to upgrade Maven to 3.8.8 from 3.9.4.
    
    ### Why are the changes needed?
    The new version [lift JDK minimum to JDK 
8](https://issues.apache.org/jira/browse/MNG-7452) and [make the build work on 
JDK 20](https://issues.apache.org/jira/browse/MNG-7743) . It also brings a 
series of bug fixes, such as [Fix deadlock during forked lifecycle 
executions](https://issues.apache.org/jira/browse/MNG-7487), along with a 
number of new optimizations like [Profile activation by 
packaging](https://issues.apache.org/jira/browse/MNG-6609). On the other hand, 
the new version re [...]
    
    For other updates, refer to the corresponding release notes:
    
    - https://maven.apache.org/docs/3.9.0/release-notes.html | 
https://github.com/apache/maven/releases/tag/maven-3.9.0
    - https://maven.apache.org/docs/3.9.1/release-notes.html | 
https://github.com/apache/maven/releases/tag/maven-3.9.1
    - https://maven.apache.org/docs/3.9.2/release-notes.html | 
https://github.com/apache/maven/releases/tag/maven-3.9.2
    - https://maven.apache.org/docs/3.9.3/release-notes.html | 
https://github.com/apache/maven/releases/tag/maven-3.9.3
    - https://maven.apache.org/docs/3.9.4/release-notes.html | 
https://github.com/apache/maven/releases/tag/maven-3.9.4
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    
    - Pass GitHub Actions
    - Manual test :
    
    run `build/mvn -version` wll trigger download 
`apache-maven-3.9.4-bin.tar.gz`
    
    ```
    exec: curl --silent --show-error -L 
https://www.apache.org/dyn/closer.lua/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz?action=download
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #42827 from LuciferYang/maven-394.
    
    Authored-by: yangjie01 <yangji...@baidu.com>
    Signed-off-by: Sean Owen <sro...@gmail.com>
---
 dev/appveyor-install-dependencies.ps1 | 2 +-
 docs/building-spark.md                | 2 +-
 pom.xml                               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev/appveyor-install-dependencies.ps1 
b/dev/appveyor-install-dependencies.ps1
index db154cd51da..682d388bdf9 100644
--- a/dev/appveyor-install-dependencies.ps1
+++ b/dev/appveyor-install-dependencies.ps1
@@ -81,7 +81,7 @@ if (!(Test-Path $tools)) {
 # ========================== Maven
 # Push-Location $tools
 #
-# $mavenVer = "3.8.8"
+# $mavenVer = "3.9.4"
 # Start-FileDownload 
"https://archive.apache.org/dist/maven/maven-3/$mavenVer/binaries/apache-maven-$mavenVer-bin.zip";
 "maven.zip"
 #
 # # extract
diff --git a/docs/building-spark.md b/docs/building-spark.md
index 4b8e70655d5..bbbc51d8c22 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -27,7 +27,7 @@ license: |
 ## Apache Maven
 
 The Maven-based build is the build of reference for Apache Spark.
-Building Spark using Maven requires Maven 3.8.8 and Java 8/11/17.
+Building Spark using Maven requires Maven 3.9.4 and Java 8/11/17.
 Spark requires Scala 2.12/2.13; support for Scala 2.11 was removed in Spark 
3.0.0.
 
 ### Setting up Maven's Memory Usage
diff --git a/pom.xml b/pom.xml
index a61d603fe1c..02920c0ae74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,7 +115,7 @@
     <java.version>1.8</java.version>
     <maven.compiler.source>${java.version}</maven.compiler.source>
     <maven.compiler.target>${java.version}</maven.compiler.target>
-    <maven.version>3.8.8</maven.version>
+    <maven.version>3.9.4</maven.version>
     <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
     <sbt.project.name>spark</sbt.project.name>
     <asm.version>9.5</asm.version>


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

Reply via email to