Commit cfcf5233 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Updated Maven version

parent 4d02897f
Pipeline #8758 failed with stages
in 48 seconds
FROM gradle:6-jdk8 FROM gradle:6-jdk8
RUN apt-get update && apt install -y openjdk-17-jdk maven RUN apt-get update && apt install -y openjdk-17-jdk
# Installing the latest Maven version manually
# (the one provided by apt is not compatible with Java 17 and we need Java 14+)
RUN wget https://dlcdn.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz && \
mkdir -p /usr/local/apache-maven && \
mv apache-maven-3.8.4-bin.tar.gz /usr/local/apache-maven && \
cd /usr/local/apache-maven && \
tar -xzvf apache-maven-3.8.4-bin.tar.gz
RUN export M2_HOME=/usr/local/apache-maven/apache-maven-3.8.4
RUN export M2=$M2_HOME/bin
RUN export PATH=$M2:$PATH
Supports Markdown
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