This is an automated email from the ASF dual-hosted git repository.
felixybw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new a593f4635d [VL] quick fix, maven3.8.8 download is 404 (#10016)
a593f4635d is described below
commit a593f4635d533c781cb78c772a8b16f557953ed3
Author: BInwei Yang <[email protected]>
AuthorDate: Wed Jun 25 19:13:23 2025 -0700
[VL] quick fix, maven3.8.8 download is 404 (#10016)
update maven to 3.9.2, unify the script
---
.github/workflows/util/setup_helper.sh | 2 +-
dev/docker/Dockerfile.centos8-dynamic-build | 11 ++++++++---
dev/docker/Dockerfile.centos8-static-build | 3 ---
dev/vcpkg/setup-build-depends.sh | 9 ++++++---
4 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/util/setup_helper.sh
b/.github/workflows/util/setup_helper.sh
index b7701e2a03..86bb43c3d2 100644
--- a/.github/workflows/util/setup_helper.sh
+++ b/.github/workflows/util/setup_helper.sh
@@ -18,7 +18,7 @@ set -e
function install_maven {
(
- local maven_version="3.8.8"
+ local maven_version="3.9.2"
local local_binary="apache-maven-${maven_version}-bin.tar.gz"
local mirror_host="https://www.apache.org/dyn/closer.lua"
local
url="${mirror_host}/maven/maven-3/${maven_version}/binaries/${local_binary}?action=download"
diff --git a/dev/docker/Dockerfile.centos8-dynamic-build
b/dev/docker/Dockerfile.centos8-dynamic-build
index baa0098075..be013f98fa 100644
--- a/dev/docker/Dockerfile.centos8-dynamic-build
+++ b/dev/docker/Dockerfile.centos8-dynamic-build
@@ -33,9 +33,14 @@ RUN set -ex; \
echo "check_certificate = off" >> ~/.wgetrc; \
yum install -y java-${JAVA_VERSION}-openjdk-devel patch wget git perl; \
yum install
https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/tzdata-2025a-1.el9.noarch.rpm
-y; \
- wget --no-check-certificate
https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz;
\
- tar -xvf apache-maven-3.8.8-bin.tar.gz; \
- mv apache-maven-3.8.8 /usr/lib/maven; \
+ maven_version=3.9.2; \
+ local_binary="apache-maven-${maven_version}-bin.tar.gz"; \
+ mirror_host="https://www.apache.org/dyn/closer.lua"; \
+
url="${mirror_host}/maven/maven-3/${maven_version}/binaries/${local_binary}?action=download";
\
+ wget -nv -O ${local_binary} ${url}; \
+ tar -xvf ${local_binary}; \
+ mv apache-maven-${maven_version} /usr/lib/maven; \
+ rm -rf ${local_binary}; \
wget -nv
https://archive.apache.org/dist/celeborn/celeborn-0.4.3/apache-celeborn-0.4.3-bin.tgz
-P /opt/; \
wget -nv
https://archive.apache.org/dist/celeborn/celeborn-0.5.4/apache-celeborn-0.5.4-bin.tgz
-P /opt/; \
wget -nv
https://archive.apache.org/dist/incubator/uniffle/0.9.2/apache-uniffle-0.9.2-incubating-bin.tar.gz
-P /opt/; \
diff --git a/dev/docker/Dockerfile.centos8-static-build
b/dev/docker/Dockerfile.centos8-static-build
index cf2cd7e5fe..dd18401890 100644
--- a/dev/docker/Dockerfile.centos8-static-build
+++ b/dev/docker/Dockerfile.centos8-static-build
@@ -35,9 +35,6 @@ RUN set -ex; \
yum install
https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/tzdata-2025a-1.el9.noarch.rpm
-y; \
rpm -qa | grep tzdata; \
dnf clean all; \
- wget --no-check-certificate
https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz;
\
- tar -xvf apache-maven-3.8.8-bin.tar.gz; \
- mv apache-maven-3.8.8 /usr/lib/maven; \
git clone --depth=1 https://github.com/apache/incubator-gluten
/opt/gluten; \
cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh; \
mkdir -p ${VCPKG_PATH}; \
diff --git a/dev/vcpkg/setup-build-depends.sh b/dev/vcpkg/setup-build-depends.sh
index e350877646..b248c0985e 100755
--- a/dev/vcpkg/setup-build-depends.sh
+++ b/dev/vcpkg/setup-build-depends.sh
@@ -33,9 +33,12 @@ install_maven_from_source() {
fi
cd /tmp
- wget
https://archive.apache.org/dist/maven/maven-3/$maven_version/binaries/apache-maven-$maven_version-bin.tar.gz
- tar -xvf apache-maven-$maven_version-bin.tar.gz
- rm -f apache-maven-$maven_version-bin.tar.gz
+ local_binary="apache-maven-${maven_version}-bin.tar.gz";
+ mirror_host="https://www.apache.org/dyn/closer.lua";
+
url="${mirror_host}/maven/maven-3/${maven_version}/binaries/${local_binary}?action=download";
+ wget -nv -O ${local_binary} ${url};
+ tar -xvf ${local_binary};
+ rm -rf ${local_binary};
mv apache-maven-$maven_version "${maven_install_dir}"
ln -s "${maven_install_dir}/bin/mvn" /usr/local/bin/mvn
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]