This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 1e7aa8e097ae3cccb239bac9634566ddc31b65b6
Author: Laszlo Gaal <laszlo.g...@cloudera.com>
AuthorDate: Fri Jun 9 19:50:01 2023 +0200

    IMPALA-12199: Point Maven 3.5.4 download location to Apache Archives
    
    bootstrap_build.sh still used the old (non-archive) download location
    to fetch Impala's preferred Maven version, v3.5.4. Unfortunately this
    location holds only the last few releases, and with a recent release
    this version was pushed out and removed from this location.
    
    This patch realigns bootstrap_build.sh with bootstrap_system.sh, which
    already has the long-term stable location for Maven 3.5.4, pointing to
    the Apache Archive download repo.
    
    Change-Id: Ied6fc226e6634a21b34c0d897bb410ce86b199af
    Reviewed-on: http://gerrit.cloudera.org:8080/20029
    Reviewed-by: Joe McDonnell <joemcdonn...@cloudera.com>
    Tested-by: Joe McDonnell <joemcdonn...@cloudera.com>
---
 bin/bootstrap_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/bootstrap_build.sh b/bin/bootstrap_build.sh
index cf504d103..71b43705b 100755
--- a/bin/bootstrap_build.sh
+++ b/bin/bootstrap_build.sh
@@ -50,7 +50,7 @@ export 
JAVA_HOME=/usr/lib/jvm/java-${JDK_VERSION}-openjdk-amd64
 # Download Maven since the packaged version is pretty old.
 if [ ! -d /usr/local/apache-maven-3.5.4 ]; then
   sudo wget -nv \
-    
https://downloads.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
+    
https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
   sha512sum -c - <<< 
'2a803f578f341e164f6753e410413d16ab60fabe31dc491d1fe35c984a5cce696bc71f57757d4538fe7738be04065a216f3ebad4ef7e0ce1bb4c51bc36d6be86
 apache-maven-3.5.4-bin.tar.gz'
   sudo tar -C /usr/local -xzf apache-maven-3.5.4-bin.tar.gz
   sudo ln -s /usr/local/apache-maven-3.5.4/bin/mvn /usr/local/bin

Reply via email to