This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun 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 b6b10d1de29a [SPARK-56997][BUILD] Upgrade Maven to 3.9.16
b6b10d1de29a is described below
commit b6b10d1de29a8e71984eab38661ba40cdca69b84
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu May 21 15:36:44 2026 -0700
[SPARK-56997][BUILD] Upgrade Maven to 3.9.16
### What changes were proposed in this pull request?
This PR upgrades `Maven` to 3.9.16 for Apache Spark 5.0.0.
### Why are the changes needed?
To use the latest Maven version.
> Regression fixes and other improvements from Maven 3.9.15. All users
already on Maven 3.9.x are advised to upgrade.
- https://maven.apache.org/docs/3.9.16/release-notes.html
- https://github.com/apache/maven/pull/12042
- https://github.com/apache/maven/pull/12022
- https://github.com/apache/maven/releases/tag/maven-3.9.16
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs and check the log.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-7)
Closes #56048 from dongjoon-hyun/SPARK-56997.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
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 0cae594af2e3..28f7c2b1c0d1 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.15 and Java 17/21/25.
+Building Spark using Maven requires Maven 3.9.16 and Java 17/21/25.
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 45e44241103c..3fe55ae3761c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
<java.version>17</java.version>
<java.minimum.version>17.0.11</java.minimum.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
- <maven.version>3.9.15</maven.version>
+ <maven.version>3.9.16</maven.version>
<exec-maven-plugin.version>3.6.1</exec-maven-plugin.version>
<sbt.project.name>spark</sbt.project.name>
<asm.version>9.9.1</asm.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]