You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2026/06/13 07:12:51 UTC
(flink-ci-docker) 09/22: Use Maven 3.8.6
This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-ci-docker.git
commit 33f472d34b205f829648d0e77fe1cd28554c92f2
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Fri Nov 18 08:27:55 2022 +0100
Use Maven 3.8.6
---
base/Dockerfile | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/base/Dockerfile b/base/Dockerfile
index de1e4ac..7a9b041 100644
--- a/base/Dockerfile
+++ b/base/Dockerfile
@@ -54,7 +54,7 @@ RUN mkdir -p /usr/share/hugo \
&& ln -s /usr/share/hugo/hugo /usr/bin/hugo
# Install maven
-ARG MAVEN_VERSION=3.2.5
+ARG MAVEN_VERSION=3.8.6
ARG USER_HOME_DIR="/root"
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
@@ -64,17 +64,6 @@ RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
&& rm -f /tmp/apache-maven.tar.gz \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
-# put custom http-wagon. More details: https://issues.apache.org/jira/browse/FLINK-16947?focusedCommentId=17285028&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17285028
-RUN cd /usr/share/maven/lib/ \
- && rm wagon-http-*-shaded.jar \
- && curl -O https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http/3.4.3/wagon-http-3.4.3-shaded.jar
-
-# add commons logging (needed for custom wagon)
-RUN cd /tmp \
- && wget https://dlcdn.apache.org/commons/logging/binaries/commons-logging-1.2-bin.zip \
- && unzip commons-logging-1.2-bin.zip \
- && cp commons-logging-1.2/commons-logging-1.2.jar /usr/share/maven/lib/
-
ENV MAVEN_HOME /usr/share/maven
# Use UTF-8