You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2026/08/07 11:29:47 UTC
(spark) branch branch-4.3 updated: [SPARK-58174][BUILD] Fetch maven plugins from mirror if MAVEN_MIRROR_URL is set
This is an automated email from the ASF dual-hosted git repository.
cloud-fan pushed a commit to branch branch-4.3
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.3 by this push:
new 5657885610c0 [SPARK-58174][BUILD] Fetch maven plugins from mirror if MAVEN_MIRROR_URL is set
5657885610c0 is described below
commit 5657885610c03fa8674433d0fcb1fa3103ed97bc
Author: Matthis Gördel <29...@users.noreply.github.com>
AuthorDate: Fri Aug 7 19:29:06 2026 +0800
[SPARK-58174][BUILD] Fetch maven plugins from mirror if MAVEN_MIRROR_URL is set
### What changes were proposed in this pull request?
If `MAVEN_MIRROR_URL` use it not only to fetch build dependencies but also to fetch maven plugins.
### Why are the changes needed?
Maven cannot build spark if it cannot fetch plugins, which is currently the case if public maven repos are not available.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
I manually built spark with `MAVEN_MIRROR_URL` set.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #57307 from fwc/fetch-mvn-plugins-from-mirror.
Lead-authored-by: Matthis Gördel <29...@users.noreply.github.com>
Co-authored-by: Matthis Gördel <ma...@databricks.com>
Signed-off-by: Wenchen Fan <we...@databricks.com>
(cherry picked from commit 7cfc7c8932c9adfd24bdf5e8472856c674182d80)
Signed-off-by: Wenchen Fan <we...@databricks.com>
---
pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index d84f5771c8e9..6b79186d7eae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3552,6 +3552,12 @@
<url>${env.MAVEN_MIRROR_URL}</url>
</repository>
</repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>maven-mirror</id>
+ <url>${env.MAVEN_MIRROR_URL}</url>
+ </pluginRepository>
+ </pluginRepositories>
</profile>
<!--
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org