mesos: switch to https for maven

Fixes: #78702
Closes: #79260
This commit is contained in:
Dmitry Kalinkin 2020-02-10 19:00:03 -05:00
parent 6932a75d9c
commit 157f392f57
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -4,7 +4,7 @@ header "fetching Apache Mesos maven repo"
function fetchArtifact {
repoPath="$1"
echo "Fetching $repoPath"
url="http://repo.maven.apache.org/maven2/$repoPath"
url="https://repo.maven.apache.org/maven2/$repoPath"
mkdir -p $(dirname $out/$repoPath)
curl --fail --location --insecure --retry 3 --max-redirs 20 "$url" --output "$out/$repoPath"
}