提交 b7f1b3e5 编写于 作者: L Levi Tamasi 提交者: Facebook Github Bot

Access Maven Central over HTTPS (#6301)

Summary:
As of 1/15/2020, Maven Central does not support plain HTTP. Because of
this, our Travis and AppVeyor builds have started failing during the
assertj download step. This patch will hopefully fix these issues.

See https://blog.sonatype.com/central-repository-moving-to-https
for more info.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6301

Test Plan:
Will monitor the builds. ("I don't always test my changes but when I do,
I do it in production.")

Differential Revision: D19422923

Pulled By: ltamasi

fbshipit-source-id: 76f9a8564a5b66ddc721d705f9cbfc736bf7a97d
上级 d2b4d42d
......@@ -318,7 +318,7 @@ if (DEFINED CUSTOM_REPO_URL)
set(CENTRAL_REPO_URL ${CUSTOM_REPO_URL}/)
else ()
set(SEARCH_REPO_URL "http://search.maven.org/remotecontent?filepath=")
set(CENTRAL_REPO_URL "http://central.maven.org/maven2/")
set(CENTRAL_REPO_URL "https://repo1.maven.org/maven2/")
endif()
if(NOT EXISTS ${JAVA_JUNIT_JAR})
......
......@@ -214,7 +214,7 @@ ifneq ($(DEBUG_LEVEL),0)
endif
SEARCH_REPO_URL?=http://search.maven.org/remotecontent?filepath=
CENTRAL_REPO_URL?=http://central.maven.org/maven2/
CENTRAL_REPO_URL?=https://repo1.maven.org/maven2/
clean:
$(AM_V_at)rm -rf include/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册