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 a9397484853 [SPARK-39599][BUILD] Upgrade maven to 3.8.6 a9397484853 is described below commit a9397484853843d84bd12048b5ca162acdba2549 Author: yangjie01 <yangji...@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 <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 19b49b90b38..0ad7a4f5e5a 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 3dfe3cd4291..3e1ec771da4 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 017ae07c03b..4ffe6b3be12 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-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org