You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2022/06/26 13:18:28 UTC

[spark] branch branch-3.3 updated: [SPARK-39599][BUILD] Upgrade maven to 3.8.6

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

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


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new fc6a6644ee1 [SPARK-39599][BUILD] Upgrade maven to 3.8.6
fc6a6644ee1 is described below

commit fc6a6644ee12c32b8da60d29eb2e6f25fa91f30d
Author: yangjie01 <ya...@baidu.com>
AuthorDate: Sun Jun 26 08:18:02 2022 -0500

    [SPARK-39599][BUILD] Upgrade maven to 3.8.6
    
    ### What changes were proposed in this pull request?
    This PR aims to upgrade Maven to 3.8.6 from 3.8.4.
    
    ### Why are the changes needed?
    The release notes and as follows:
    
    - https://maven.apache.org/docs/3.8.5/release-notes.html
    - https://maven.apache.org/docs/3.8.6/release-notes.html
    
    Note that the profile dependency bug should fixed by [MNG-7432] Resolver session contains non-MavenWorkspaceReader (#695)
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    
    - Pass GitHub Actions
    - Manual test 1:
    
    run `build/mvn -version` wll trigger download `apache-maven-3.8.6-bin.tar.gz`
    
    ```
    exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz?action=download
    ```
    
    - Manual test 2:
    
    run `./dev/test-dependencies.sh --replace-manifest ` doesn't generate git diff, this behavior is consistent with maven 3.8.4,but there will git diff of `dev/deps/spark-deps-hadoop-2-hive-2.3`  when use maven 3.8.5.
    
    Closes #36978 from LuciferYang/mvn-386.
    
    Authored-by: yangjie01 <ya...@baidu.com>
    Signed-off-by: Sean Owen <sr...@gmail.com>
    (cherry picked from commit a9397484853843d84bd12048b5ca162acdba2549)
    Signed-off-by: Sean Owen <sr...@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 d469c98fdb3..fae7fe35dd7 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.4"
+# $mavenVer = "3.8.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 4e775095a37..caf8773b400 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.4 and Java 8.
+Building Spark using Maven requires Maven 3.8.6 and Java 8.
 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 9d290301d23..3ac52a74944 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,7 +109,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.4</maven.version>
+    <maven.version>3.8.6</maven.version>
     <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
     <sbt.project.name>spark</sbt.project.name>
     <slf4j.version>1.7.32</slf4j.version>


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