Use "mvn -B" in builds to avoid dowloading progress bars in logs.
Maven's batch (or non-interactive) mode prevents progress bar output when Maven is downloading artifacts, which isn't generally useful. Now that we keep Maven logs in logs/mvn/mvn.log, this makes them slightly more tidy. Change-Id: I5aa117272c2a86b63b0f9062099a4145324eb6fc Reviewed-on: http://gerrit.cloudera.org:8080/9792 Reviewed-by: Michael Brown <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/00f131c8 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/00f131c8 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/00f131c8 Branch: refs/heads/2.x Commit: 00f131c80e71c9d4cb76491d06105a298c4f7555 Parents: dadcf55 Author: Philip Zeyliger <[email protected]> Authored: Fri Mar 23 15:59:04 2018 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Tue Mar 27 07:17:39 2018 +0000 ---------------------------------------------------------------------- common/yarn-extras/CMakeLists.txt | 2 +- ext-data-source/CMakeLists.txt | 2 +- fe/CMakeLists.txt | 2 +- impala-parent/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/00f131c8/common/yarn-extras/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/common/yarn-extras/CMakeLists.txt b/common/yarn-extras/CMakeLists.txt index a7930de..2b5f005 100644 --- a/common/yarn-extras/CMakeLists.txt +++ b/common/yarn-extras/CMakeLists.txt @@ -16,5 +16,5 @@ # under the License. add_custom_target(yarn-extras ALL DEPENDS impala-parent - COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh install -DskipTests + COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh -B install -DskipTests ) http://git-wip-us.apache.org/repos/asf/impala/blob/00f131c8/ext-data-source/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/ext-data-source/CMakeLists.txt b/ext-data-source/CMakeLists.txt index 2b58f4e..2cd2b20 100644 --- a/ext-data-source/CMakeLists.txt +++ b/ext-data-source/CMakeLists.txt @@ -16,5 +16,5 @@ # under the License. add_custom_target(ext-data-source ALL DEPENDS gen-deps impala-parent - COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh install -DskipTests + COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh -B install -DskipTests ) http://git-wip-us.apache.org/repos/asf/impala/blob/00f131c8/fe/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/fe/CMakeLists.txt b/fe/CMakeLists.txt index 3f15554..789f509 100644 --- a/fe/CMakeLists.txt +++ b/fe/CMakeLists.txt @@ -17,5 +17,5 @@ add_custom_target(fe ALL DEPENDS thrift-deps fb-deps yarn-extras function-registry ext-data-source impala-parent - COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh install -DskipTests + COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh -B install -DskipTests ) http://git-wip-us.apache.org/repos/asf/impala/blob/00f131c8/impala-parent/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/impala-parent/CMakeLists.txt b/impala-parent/CMakeLists.txt index 39507f5..fdd6e98 100644 --- a/impala-parent/CMakeLists.txt +++ b/impala-parent/CMakeLists.txt @@ -16,5 +16,5 @@ # under the License. add_custom_target(impala-parent ALL - COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh install -DskipTests + COMMAND $ENV{IMPALA_HOME}/bin/mvn-quiet.sh -B install -DskipTests )
