Skip to content
Snippets Groups Projects
Commit cccb2624 authored by dgelessus's avatar dgelessus
Browse files

Fix Maven download in .gitlab-ci.yml

parent ed113767
Branches
No related tags found
Loading
Pipeline #64622 failed
......@@ -2,7 +2,10 @@ build:
stage: build
image: openjdk:8-jdk-slim
before_script:
- wget http://www.us.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
- 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
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment