Commit baa8507
[SPARK-55710][BUILD] Use Google Mirror of Maven Central for SBT bootstrap
### What changes were proposed in this pull request?
Change the default SBT bootstrap repository from Maven Central (`repo1.maven.org`) to Google's Maven Central mirror (`maven-central.storage-download.googleapis.com`) for downloading the `sbt-launch` jar.
### Why are the changes needed?
The rest of the SBT build already uses the Google mirror as the primary resolver, as `project/SparkBuild.scala`. The bootstrap script (`build/sbt-launch-lib.bash`) was the only place still defaulting to Maven Central. This makes it consistent and avoids flaky Maven Central connections during the initial `sbt-launch` jar download.
The `DEFAULT_ARTIFACT_REPOSITORY` environment variable can still be used to override this.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually tested by removing the cached `sbt-launch-1.12.4.jar` and verifying the bootstrap successfully downloads from the Google mirror with matching checksum.
### Was this patch authored or co-authored using generative AI tooling?
Yes, GitHub Copilot CLI was used.
Closes #54508 from yaooqinn/SPARK-55710.
Authored-by: Kent Yao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent 3665506 commit baa8507
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments