Skip to content

Commit

Permalink
Update maven to 3.9.0 (java-native-access#489)
Browse files Browse the repository at this point in the history
Motivation:

Let's use the latest maven version to build

Modifications:

Upgrade to 3.9.0

Result:

Use latest maven release
  • Loading branch information
normanmaurer authored Mar 16, 2023
1 parent 1ab1e08 commit 3c607fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions docker/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions docker/Dockerfile.cross_compile_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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
ENV PATH /opt/apache-maven-3.9.0/bin/:$PATH

0 comments on commit 3c607fb

Please sign in to comment.