Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use https to access central.maven.org #920

Merged
merged 1 commit into from
Jan 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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 = ["http://central.maven.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar"],
jar_urls = ["https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar"],
licenses = ["notice"], # Apache 2.0
neverlink = True,
)
Expand Down
2 changes: 1 addition & 1 deletion jmh/jmh.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load(
_scala_maven_import_external = "scala_maven_import_external",
)

def jmh_repositories(maven_servers = ["http://central.maven.org/maven2"]):
def jmh_repositories(maven_servers = ["https://repo.maven.apache.org/maven2"]):
_scala_maven_import_external(
name = "io_bazel_rules_scala_org_openjdk_jmh_jmh_core",
artifact = "org.openjdk.jmh:jmh-core:1.20",
Expand Down
2 changes: 1 addition & 1 deletion junit/junit.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load(
_scala_maven_import_external = "scala_maven_import_external",
)

def junit_repositories(maven_servers = ["http://central.maven.org/maven2"]):
def junit_repositories(maven_servers = ["https://repo.maven.apache.org/maven2"]):
_scala_maven_import_external(
name = "io_bazel_rules_scala_junit_junit",
artifact = "junit:junit:4.12",
Expand Down
2 changes: 1 addition & 1 deletion scala/private/macros/scala_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def scala_repositories(
_default_scala_version(),
_default_scala_version_jar_shas(),
),
maven_servers = ["http://central.maven.org/maven2"],
maven_servers = ["https://repo.maven.apache.org/maven2"],
scala_extra_jars = _default_scala_extra_jars()):
(scala_version, scala_version_jar_shas) = scala_version_shas
major_version = _extract_major_version(scala_version)
Expand Down
2 changes: 1 addition & 1 deletion scala_proto/private/scala_proto_default_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ load(

def scala_proto_default_repositories(
scala_version = _default_scala_version(),
maven_servers = ["http://central.maven.org/maven2"]):
maven_servers = ["https://repo.maven.apache.org/maven2"]):
major_version = _extract_major_version(scala_version)

scala_jar_shas = {
Expand Down
2 changes: 1 addition & 1 deletion scala_proto/scala_proto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def register_default_proto_dependencies():

def scala_proto_repositories(
scala_version = _default_scala_version(),
maven_servers = ["http://central.maven.org/maven2"]):
maven_servers = ["https://repo.maven.apache.org/maven2"]):
ret = scala_proto_default_repositories(scala_version, maven_servers)
register_default_proto_dependencies()
return ret
Expand Down
2 changes: 1 addition & 1 deletion specs2/specs2.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def specs2_version():

def specs2_repositories(
scala_version = _default_scala_version(),
maven_servers = ["http://central.maven.org/maven2"]):
maven_servers = ["https://repo.maven.apache.org/maven2"]):
major_version = _extract_major_version(scala_version)

scala_jar_shas = {
Expand Down
2 changes: 1 addition & 1 deletion specs2/specs2_junit.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ load(

def specs2_junit_repositories(
scala_version = _default_scala_version(),
maven_servers = ["http://central.maven.org/maven2"]):
maven_servers = ["https://repo.maven.apache.org/maven2"]):
major_version = _extract_major_version(scala_version)

specs2_repositories(scala_version, maven_servers)
Expand Down
2 changes: 1 addition & 1 deletion twitter_scrooge/twitter_scrooge.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _jar_extension = ".jar"

def twitter_scrooge(
scala_version = _default_scala_version(),
maven_servers = ["http://central.maven.org/maven2"]):
maven_servers = ["https://repo.maven.apache.org/maven2"]):
major_version = _extract_major_version(scala_version)

_scala_maven_import_external(
Expand Down