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 { function fetchArtifact {
repoPath="$1" repoPath="$1"
echo "Fetching $repoPath" echo "Fetching $repoPath"
url="http://repo.maven.apache.org/maven2/$repoPath" url="https://repo.maven.apache.org/maven2/$repoPath"
mkdir -p $(dirname $out/$repoPath) mkdir -p $(dirname $out/$repoPath)
curl --fail --location --insecure --retry 3 --max-redirs 20 "$url" --output "$out/$repoPath" curl --fail --location --insecure --retry 3 --max-redirs 20 "$url" --output "$out/$repoPath"
} }