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
This commit is contained in:
Levi Tamasi 2020-01-15 17:53:23 -08:00 committed by Facebook Github Bot
parent d2b4d42d4b
commit b7f1b3e51c
2 changed files with 2 additions and 2 deletions

View File

@ -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})

View File

@ -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/*