This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new b302caf  [SPARK-30944][BUILD] Update URL for Google Cloud Storage 
mirror of Maven Central
b302caf is described below

commit b302caf4d28752a2bf5537c69fd9cbdc8b703e8b
Author: Josh Rosen <joshro...@databricks.com>
AuthorDate: Tue Feb 25 17:04:13 2020 +0900

    [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 <joshro...@databricks.com>
    Signed-off-by: HyukjinKwon <gurwls...@apache.org>
---
 pom.xml                  | 4 ++--
 project/SparkBuild.scala | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 32b7bae..0741096 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,7 +237,7 @@
         See https://storage-download.googleapis.com/maven-central/index.html
       -->
       <name>GCS Maven Central mirror</name>
-      
<url>https://maven-central.storage-download.googleapis.com/repos/central/data/</url>
+      <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
       <releases>
         <enabled>true</enabled>
       </releases>
@@ -268,7 +268,7 @@
         See https://storage-download.googleapis.com/maven-central/index.html
       -->
       <name>GCS Maven Central mirror</name>
-      
<url>https://maven-central.storage-download.googleapis.com/repos/central/data/</url>
+      <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
       <releases>
         <enabled>true</enabled>
       </releases>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 4a3f8a5..3f85ac6 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -224,7 +224,7 @@ object SparkBuild extends PomBuild {
     resolvers := Seq(
       // Google Mirror of Maven Central, placed first so that it's used 
instead of flaky Maven Central.
       // See https://storage-download.googleapis.com/maven-central/index.html 
for more info.
-      "gcs-maven-central-mirror" at 
"https://maven-central.storage-download.googleapis.com/repos/central/data/";,
+      "gcs-maven-central-mirror" at 
"https://maven-central.storage-download.googleapis.com/maven2/";,
       DefaultMavenRepository,
       Resolver.mavenLocal,
       Resolver.file("local", file(Path.userHome.absolutePath + 
"/.ivy2/local"))(Resolver.ivyStylePatterns)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to