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:
parent
d2b4d42d4b
commit
b7f1b3e51c
@ -318,7 +318,7 @@ if (DEFINED CUSTOM_REPO_URL)
|
|||||||
set(CENTRAL_REPO_URL ${CUSTOM_REPO_URL}/)
|
set(CENTRAL_REPO_URL ${CUSTOM_REPO_URL}/)
|
||||||
else ()
|
else ()
|
||||||
set(SEARCH_REPO_URL "http://search.maven.org/remotecontent?filepath=")
|
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()
|
endif()
|
||||||
|
|
||||||
if(NOT EXISTS ${JAVA_JUNIT_JAR})
|
if(NOT EXISTS ${JAVA_JUNIT_JAR})
|
||||||
|
@ -214,7 +214,7 @@ ifneq ($(DEBUG_LEVEL),0)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
SEARCH_REPO_URL?=http://search.maven.org/remotecontent?filepath=
|
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:
|
clean:
|
||||||
$(AM_V_at)rm -rf include/*
|
$(AM_V_at)rm -rf include/*
|
||||||
|
Loading…
Reference in New Issue
Block a user