From b7f1b3e51cf516ce8bb9348053717c96ee97cc14 Mon Sep 17 00:00:00 2001 From: Levi Tamasi Date: Wed, 15 Jan 2020 17:53:23 -0800 Subject: [PATCH] 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 --- java/CMakeLists.txt | 2 +- java/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 0f6c231b2..8be8a7414 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -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}) diff --git a/java/Makefile b/java/Makefile index f8642c2d6..18a072c14 100644 --- a/java/Makefile +++ b/java/Makefile @@ -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/*