HADOOP-18268. Install maven from Apache archives (#4373)
* The remote server hosting maven was temporarily unavailable causing the Hadoop Jenkins CI to fail. * Thus, we're switching to use a CDN to mitigate such issues.
This commit is contained in:
parent
34a973a90e
commit
712e009172
@ -40,7 +40,7 @@ fi
|
||||
|
||||
if [ "$version_to_install" == "3.6.3" ]; then
|
||||
mkdir -p /opt/maven /tmp/maven &&
|
||||
curl -L -s -S https://mirrors.estointernet.in/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz \
|
||||
curl -L -s -S https://dlcdn.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz \
|
||||
-o /tmp/maven/apache-maven-3.6.3-bin.tar.gz &&
|
||||
tar xzf /tmp/maven/apache-maven-3.6.3-bin.tar.gz --strip-components 1 -C /opt/maven
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user