From 3c607fb3bf85c1d4aa338c106d63a9d7ae9934fb Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 16 Mar 2023 10:54:02 +0100 Subject: [PATCH] Update maven to 3.9.0 (#489) Motivation: Let's use the latest maven version to build Modifications: Upgrade to 3.9.0 Result: Use latest maven release --- .mvn/wrapper/maven-wrapper.properties | 2 +- docker/Dockerfile.centos7 | 6 +++--- docker/Dockerfile.cross_compile_aarch64 | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index e22711fd9..496255845 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1 +1 @@ -distributionUrl=https://maven-central.storage-download.googleapis.com/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip +distributionUrl=https://maven-central.storage-download.googleapis.com/maven2/org/apache/maven/apache-maven/3.9.0/apache-maven-3.9.0-bin.zip diff --git a/docker/Dockerfile.centos7 b/docker/Dockerfile.centos7 index c9178029f..d44333427 100644 --- a/docker/Dockerfile.centos7 +++ b/docker/Dockerfile.centos7 @@ -58,9 +58,9 @@ run curl https://sh.rustup.rs -sSf | sh -s -- -y RUN echo 'PATH=$PATH:$HOME/.cargo/bin' >> ~/.bashrc WORKDIR /opt -RUN curl https://downloads.apache.org/maven/maven-3/3.8.7/binaries/apache-maven-3.8.7-bin.tar.gz | tar -xz -RUN echo 'PATH=/opt/apache-maven-3.8.7/bin/:$PATH' >> ~/.bashrc +RUN curl https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz | tar -xz +RUN echo 'PATH=/opt/apache-maven-3.9.0/bin/:$PATH' >> ~/.bashrc # Prepare our own build -ENV PATH /opt/apache-maven-3.8.7/bin/:$PATH +ENV PATH /opt/apache-maven-3.9.0/bin/:$PATH ENV JAVA_HOME /root/.sdkman/candidates/java/current diff --git a/docker/Dockerfile.cross_compile_aarch64 b/docker/Dockerfile.cross_compile_aarch64 index f42d13c72..6be0e7887 100644 --- a/docker/Dockerfile.cross_compile_aarch64 +++ b/docker/Dockerfile.cross_compile_aarch64 @@ -55,8 +55,8 @@ RUN echo '[target.aarch64-unknown-linux-gnu]' >> /root/.cargo/config RUN echo 'linker = "aarch64-none-linux-gnu-gcc"' >> /root/.cargo/config WORKDIR /opt -RUN curl https://downloads.apache.org/maven/maven-3/3.8.7/binaries/apache-maven-3.8.7-bin.tar.gz | tar -xz -RUN echo 'PATH=/opt/apache-maven-3.8.7/bin/:$PATH' >> ~/.bashrc +RUN curl https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz | tar -xz +RUN echo 'PATH=/opt/apache-maven-3.9.0/bin/:$PATH' >> ~/.bashrc # Prepare our own build -ENV PATH /opt/apache-maven-3.8.7/bin/:$PATH \ No newline at end of file +ENV PATH /opt/apache-maven-3.9.0/bin/:$PATH \ No newline at end of file