Commit 012a9ec3 authored by dgelessus's avatar dgelessus
Browse files

Update Maven download URL and verify file checksums

parent 84e56aaf
Pipeline #66359 passed with stages
in 3 minutes and 1 second
......@@ -4,8 +4,11 @@ build:
before_script:
- export DEBIAN_FRONTEND="noninteractive"
- apt-get update
- apt-get install --assume-yes curl
- curl --location -o apache-maven-3.0.5-bin.tar.gz http://www.us.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
# perl provides shasum
- apt-get install --assume-yes curl perl
- curl --location -o apache-maven-3.0.5-bin.tar.gz https://archive.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
- md5sum --quiet --check - <<< "94c51f0dd139b4b8549204d0605a5859 *apache-maven-3.0.5-bin.tar.gz"
- shasum --algorithm 1 --quiet --check - <<< "aecc0d3d67732939c0056d4a0d8510483ee1167e *apache-maven-3.0.5-bin.tar.gz"
- tar -zxvf apache-maven-3.0.5-bin.tar.gz
- export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=192m"
- export M2_HOME=$PWD/apache-maven-3.0.5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment