From 47f232ef71fdde6b1952b1fe64f7fb0cdb025500 Mon Sep 17 00:00:00 2001 From: Matt Forbes Date: Wed, 15 Jan 2020 16:26:05 -0800 Subject: [PATCH] use repo1.maven.org --- WORKSPACE | 2 +- jmh/jmh.bzl | 2 +- junit/junit.bzl | 2 +- scala/scala.bzl | 2 +- scala_proto/private/scala_proto_default_repositories.bzl | 2 +- scala_proto/scala_proto.bzl | 2 +- specs2/specs2.bzl | 2 +- specs2/specs2_junit.bzl | 2 +- twitter_scrooge/twitter_scrooge.bzl | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 834200b58..2114e0ac9 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -137,7 +137,7 @@ java_import_external( name = "org_apache_commons_commons_lang_3_5_without_file", generated_linkable_rule_name = "linkable_org_apache_commons_commons_lang_3_5_without_file", jar_sha256 = "8ac96fc686512d777fca85e144f196cd7cfe0c0aec23127229497d1a38ff651c", - jar_urls = ["https://central.maven.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar"], + jar_urls = ["https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar"], licenses = ["notice"], # Apache 2.0 neverlink = True, ) diff --git a/jmh/jmh.bzl b/jmh/jmh.bzl index 4bcb6a579..f59318918 100644 --- a/jmh/jmh.bzl +++ b/jmh/jmh.bzl @@ -4,7 +4,7 @@ load( _scala_maven_import_external = "scala_maven_import_external", ) -def jmh_repositories(maven_servers = ["https://central.maven.org/maven2"]): +def jmh_repositories(maven_servers = ["https://repo1.maven.org/maven2"]): _scala_maven_import_external( name = "io_bazel_rules_scala_org_openjdk_jmh_jmh_core", artifact = "org.openjdk.jmh:jmh-core:1.20", diff --git a/junit/junit.bzl b/junit/junit.bzl index 50fe72d34..221ab217c 100644 --- a/junit/junit.bzl +++ b/junit/junit.bzl @@ -3,7 +3,7 @@ load( _scala_maven_import_external = "scala_maven_import_external", ) -def junit_repositories(maven_servers = ["https://central.maven.org/maven2"]): +def junit_repositories(maven_servers = ["https://repo1.maven.org/maven2"]): _scala_maven_import_external( name = "io_bazel_rules_scala_junit_junit", artifact = "junit:junit:4.12", diff --git a/scala/scala.bzl b/scala/scala.bzl index 42b597ccb..ac53cf986 100644 --- a/scala/scala.bzl +++ b/scala/scala.bzl @@ -411,7 +411,7 @@ def scala_repositories( _default_scala_version(), _default_scala_version_jar_shas(), ), - maven_servers = ["https://central.maven.org/maven2"], + maven_servers = ["https://repo1.maven.org/maven2"], scala_extra_jars = _default_scala_extra_jars(), fetch_sources = False): (scala_version, scala_version_jar_shas) = scala_version_shas diff --git a/scala_proto/private/scala_proto_default_repositories.bzl b/scala_proto/private/scala_proto_default_repositories.bzl index 06784f42c..f11bd4900 100644 --- a/scala_proto/private/scala_proto_default_repositories.bzl +++ b/scala_proto/private/scala_proto_default_repositories.bzl @@ -11,7 +11,7 @@ load( def scala_proto_default_repositories( scala_version = _default_scala_version(), - maven_servers = ["https://central.maven.org/maven2"]): + maven_servers = ["https://repo1.maven.org/maven2"]): major_version = _extract_major_version(scala_version) scala_jar_shas = { diff --git a/scala_proto/scala_proto.bzl b/scala_proto/scala_proto.bzl index 280834940..70374123b 100644 --- a/scala_proto/scala_proto.bzl +++ b/scala_proto/scala_proto.bzl @@ -16,7 +16,7 @@ load( def scala_proto_repositories( scala_version = _default_scala_version(), - maven_servers = ["https://central.maven.org/maven2"]): + maven_servers = ["https://repo1.maven.org/maven2"]): return scala_proto_default_repositories(scala_version, maven_servers) def _scalapb_proto_library_impl(ctx): diff --git a/specs2/specs2.bzl b/specs2/specs2.bzl index dd33469e3..91fa38e76 100644 --- a/specs2/specs2.bzl +++ b/specs2/specs2.bzl @@ -14,7 +14,7 @@ def specs2_version(): def specs2_repositories( scala_version = _default_scala_version(), - maven_servers = ["https://central.maven.org/maven2"]): + maven_servers = ["https://repo1.maven.org/maven2"]): major_version = _extract_major_version(scala_version) scala_jar_shas = { diff --git a/specs2/specs2_junit.bzl b/specs2/specs2_junit.bzl index 988abd8d5..774480b01 100644 --- a/specs2/specs2_junit.bzl +++ b/specs2/specs2_junit.bzl @@ -18,7 +18,7 @@ load( def specs2_junit_repositories( scala_version = _default_scala_version(), - maven_servers = ["https://central.maven.org/maven2"]): + maven_servers = ["https://repo1.maven.org/maven2"]): major_version = _extract_major_version(scala_version) specs2_repositories(scala_version, maven_servers) diff --git a/twitter_scrooge/twitter_scrooge.bzl b/twitter_scrooge/twitter_scrooge.bzl index 5ea155676..6e9375eab 100644 --- a/twitter_scrooge/twitter_scrooge.bzl +++ b/twitter_scrooge/twitter_scrooge.bzl @@ -23,7 +23,7 @@ _jar_extension = ".jar" def twitter_scrooge( scala_version = _default_scala_version(), - maven_servers = ["https://central.maven.org/maven2"]): + maven_servers = ["https://repo1.maven.org/maven2"]): major_version = _extract_major_version(scala_version) _scala_maven_import_external(