From d8a24b7a9432757e71d93d28ea839e20d23f497a Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Mon, 17 Jun 2024 12:09:30 -0700 Subject: [PATCH] [SPARK-48645][BUILD] Upgrade Maven to 3.9.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What changes were proposed in this pull request? This PR aims to upgrade Maven to 3.9.8. ### Why are the changes needed? Release Note: - https://maven.apache.org/docs/3.9.8/release-notes.html > Bug fixes ranges from restored ability (lost in 3.9.7) to build some project that depends on artifact with invalid POMs, OS profile activation issues and many other minor but annoying bugs. The “known issue” (bug) from 3.9.7, [MNG-8116](https://issues.apache.org/jira/browse/MNG-8116) was fixed as well. As part of fix Eclipse Sisu is updated to version 0.9.0.M3, that carries ASM 9.7 (Java 23). Bug Fixes: - [MNG-7758](https://issues.apache.org/jira/browse/MNG-7758): o.e.aether.resolution.ArtifactResolutionException incorrectly examined when multiple repositories are involved - [MNG-8066](https://issues.apache.org/jira/browse/MNG-8066): Maven hangs on self-referencing exceptions - [MNG-8116](https://issues.apache.org/jira/browse/MNG-8116): Plugin configuration can randomly fail in case of method overloading as it doesn't take into account implementation attribute - [MNG-8131](https://issues.apache.org/jira/browse/MNG-8131): Property replacement in dependency pom no longer works - [MNG-8135](https://issues.apache.org/jira/browse/MNG-8135): Profile activation based on OS properties is no longer case insensitive - [MNG-8142](https://issues.apache.org/jira/browse/MNG-8142): If JDK profile activator gets "invalid" JDK version for whatever reason, it chokes but does not tell why - [MNG-8147](https://issues.apache.org/jira/browse/MNG-8147): Profile interpolation broke their evaluation in case of duplicate IDs ### 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 #47002 from dongjoon-hyun/SPARK-48645. Authored-by: Dongjoon Hyun Signed-off-by: Dongjoon Hyun --- docs/building-spark.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building-spark.md b/docs/building-spark.md index 0e81f52c006a1..9ac61bfb8a64a 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.7 and Java 17/21. +Building Spark using Maven requires Maven 3.9.8 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 0c2fa604902f8..8a5a5b0633c62 100644 --- a/pom.xml +++ b/pom.xml @@ -115,7 +115,7 @@ UTF-8 17 ${java.version} - 3.9.7 + 3.9.8 3.2.0 spark 9.7