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 8ad105155923 [SPARK-60888][BUILD] Upgrade Maven to 3.10.0
8ad105155923 is described below
commit 8ad1051559238712d1b268c1322c83ac418d7e5e
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 4 13:45:06 2026 -0800
[SPARK-60888][BUILD] Upgrade Maven to 3.10.0
### What changes were proposed in this pull request?
This PR upgrades `Maven` to 3.10.0 for Apache Spark 5.0.0.
- `pom.xml`: `maven.version` 3.9.16 -> 3.10.0 (used by `build/mvn` to pick
the Maven to download and by the `maven-enforcer-plugin` `requireMavenVersion`
rule)
- `docs/building-spark.md`: update the required Maven version
### Why are the changes needed?
To use the latest Maven version.
Maven 3.10.0 is the first release of the 3.10 line. It moves to the Maven
Resolver 2.0.x lineage (the same one as Maven 4), hardens how server
credentials and repository-resolved models are handled, and includes many bug
fixes. It still runs on Java 8 or above.
- https://maven.apache.org/docs/3.10.0/release-notes.html
- https://github.com/apache/maven/releases/tag/maven-3.10.0 (released
2026-10-01)
### Does this PR introduce _any_ user-facing change?
No. `build/mvn` downloads Maven 3.10.0 automatically. Developers who use
their own `mvn` need to upgrade it to 3.10.0.
### How was this patch tested?
Pass the CIs.
I also checked locally with `build/mvn` on a machine whose `PATH` has no
`mvn`. It downloaded Maven 3.10.0, verified the checksum, and passed the
enforcer `requireMavenVersion` rule.
```
build/mvn -N validate
build/mvn -pl common/tags -DskipTests package
```
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Sonnet 5.5
Closes #60103 from dongjoon-hyun/SPARK-60888.
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 ebe58847d517..a0573eac36c0 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.16 and Java 21/25.
+Building Spark using Maven requires Maven 3.10.0 and Java 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 74a82a3b24d9..1245a5d8dce3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,7 +124,7 @@
<java.version>21</java.version>
<java.minimum.version>21</java.minimum.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
- <maven.version>3.9.16</maven.version>
+ <maven.version>3.10.0</maven.version>
<exec-maven-plugin.version>3.6.1</exec-maven-plugin.version>
<sbt.project.name>spark</sbt.project.name>
<asm.version>9.10.1</asm.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]