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

yangjie01 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 b28988dbc6ff [SPARK-46335][BUILD] Upgrade Maven to 3.9.6 for MNG-7913
b28988dbc6ff is described below

commit b28988dbc6ff0d9b95059825a0a77fa6ce5e5c75
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sat Dec 9 10:12:14 2023 +0800

    [SPARK-46335][BUILD] Upgrade Maven to 3.9.6 for MNG-7913
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `Apache Maven` to 3.9.6.
    
    ### Why are the changes needed?
    
    Apache Maven 3.9.6 has MNG-7913 to improve Java supports. Although it's 
only for up to Java 19, this is better than the previous condition (up to Java 
14).
    - https://github.com/apache/maven/pull/1286
    
    > To version that supports gleaning JSR330 component classes up to Java 19. 
The reasoning of this change is only to allow 3rd party Maven plugins/Maven 
extensions/other JSR330 components (managed by Maven embedded Sisu) to use 
bytecode newer that Java 14 (Sisu 0.3.5).
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #44267 from dongjoon-hyun/SPARK-46335.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: yangjie01 <yangji...@baidu.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 d60ec8a47d70..b37f1ee45f30 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.9.5"
+# $mavenVer = "3.9.6"
 # 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 23d6f49a4fe8..9fea22426978 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.9.5 and Java 17/21.
+Building Spark using Maven requires Maven 3.9.6 and Java 17/21.
 Spark requires Scala 2.13; support for Scala 2.12 was removed in Spark 4.0.0.
 
 ### Setting up Maven's Memory Usage
diff --git a/pom.xml b/pom.xml
index 33cb6cf257f6..c97c74ce5707 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,7 +115,7 @@
     <java.version>17</java.version>
     <maven.compiler.source>${java.version}</maven.compiler.source>
     <maven.compiler.target>${java.version}</maven.compiler.target>
-    <maven.version>3.9.5</maven.version>
+    <maven.version>3.9.6</maven.version>
     <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
     <sbt.project.name>spark</sbt.project.name>
     <asm.version>9.6</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