You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2023/07/16 13:41:04 UTC
[impala] 02/03: IMPALA-12284: Use Maven's batch mode when building jamm
This is an automated email from the ASF dual-hosted git repository.
stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit a281d8eb8e41f453f4edfec9f4fd1f25e994fe39
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Thu Jul 13 19:24:34 2023 -0700
IMPALA-12284: Use Maven's batch mode when building jamm
This adds the --batch-mode flag to the maven invocation
the builds jamm. That disables some of the download progress
output, reducing the total size of the output.
Testing:
- Ran a build locally
Change-Id: I1634240b191168b13cf3be7c9266e21a746844b1
Reviewed-on: http://gerrit.cloudera.org:8080/20196
Reviewed-by: Michael Smith <mi...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
java/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 89313e1f4..aa3c6de12 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -27,7 +27,7 @@ ExternalProject_Add(jamm
PATCH_COMMAND sed -i.bak s/0.4.0-SNAPSHOT/0.4.0-IMPALA/ pom.xml
CONFIGURE_COMMAND sed s:JAVA_HOME:$ENV{JAVA_HOME}:g ${CMAKE_CURRENT_SOURCE_DIR}/toolchains.xml.tmpl > toolchains.xml
BUILD_IN_SOURCE true
- BUILD_COMMAND mvn --toolchains toolchains.xml install -Dmaven.test.skip=true -DskipTests
+ BUILD_COMMAND mvn --batch-mode --toolchains toolchains.xml install -Dmaven.test.skip=true -DskipTests
INSTALL_COMMAND ""
)