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
main
Levi Tamasi 5 years ago committed by Facebook Github Bot
parent d2b4d42d4b
commit b7f1b3e51c
  1. 2
      java/CMakeLists.txt
  2. 2
      java/Makefile

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

Loading…
Cancel
Save