Skip to content

Commit b302caf

Browse files
JoshRosenHyukjinKwon
authored andcommitted
[SPARK-30944][BUILD] Update URL for Google Cloud Storage mirror of Maven Central
This PR is a followup to #27307: per https://travis-ci.community/t/maven-builds-that-use-the-gcs-maven-central-mirror-should-update-their-paths/5926, the Google Cloud Storage mirror of Maven Central has updated its URLs: the new paths are updated more frequently. The new paths are listed on https://storage-download.googleapis.com/maven-central/index.html This patch updates our build files to use these new URLs. No. Existing build + tests. Closes #27688 from JoshRosen/update-gcs-mirror-url. Authored-by: Josh Rosen <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
1 parent 8fdd039 commit b302caf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
See https://storage-download.googleapis.com/maven-central/index.html
238238
-->
239239
<name>GCS Maven Central mirror</name>
240-
<url>https://maven-central.storage-download.googleapis.com/repos/central/data/</url>
240+
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
241241
<releases>
242242
<enabled>true</enabled>
243243
</releases>
@@ -268,7 +268,7 @@
268268
See https://storage-download.googleapis.com/maven-central/index.html
269269
-->
270270
<name>GCS Maven Central mirror</name>
271-
<url>https://maven-central.storage-download.googleapis.com/repos/central/data/</url>
271+
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
272272
<releases>
273273
<enabled>true</enabled>
274274
</releases>

project/SparkBuild.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ object SparkBuild extends PomBuild {
224224
resolvers := Seq(
225225
// Google Mirror of Maven Central, placed first so that it's used instead of flaky Maven Central.
226226
// See https://storage-download.googleapis.com/maven-central/index.html for more info.
227-
"gcs-maven-central-mirror" at "https://maven-central.storage-download.googleapis.com/repos/central/data/",
227+
"gcs-maven-central-mirror" at "https://maven-central.storage-download.googleapis.com/maven2/",
228228
DefaultMavenRepository,
229229
Resolver.mavenLocal,
230230
Resolver.file("local", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns)

0 commit comments

Comments
 (0)