From 36ae2fcfd7b256c2cbbd2d010caf5a063978e8d3 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 1 Jun 2016 11:35:58 +0300 Subject: [PATCH] dist: Execute Maven in batch mode The batch mode produces much more readable logs because it's designed for non-interactive builds and doesn't have the fancy download progress meters. Message-Id: <1464770158-32482-1-git-send-email-penberg@scylladb.com> --- dist/redhat/scylla-jmx.spec.in | 2 +- dist/ubuntu/rules.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/redhat/scylla-jmx.spec.in b/dist/redhat/scylla-jmx.spec.in index 188251b..6a5460c 100644 --- a/dist/redhat/scylla-jmx.spec.in +++ b/dist/redhat/scylla-jmx.spec.in @@ -20,7 +20,7 @@ Requires: scylla-server java-headless %build -mvn install +mvn -B install mkdir build cp dist/common/systemd/scylla-jmx.service.in build/scylla-jmx.service sed -i -e "s#@@SYSCONFDIR@@#/etc/sysconfig#g" build/scylla-jmx.service diff --git a/dist/ubuntu/rules.in b/dist/ubuntu/rules.in index fe2cd97..3f48638 100755 --- a/dist/ubuntu/rules.in +++ b/dist/ubuntu/rules.in @@ -5,7 +5,7 @@ DEST = $(CURDIR)/debian/scylla-jmx/usr/lib/scylla/jmx M2_REPO= $(CURDIR)/m2 override_dh_auto_build: - mvn -Dmaven.repo.local=$(M2_REPO) install + mvn -B -Dmaven.repo.local=$(M2_REPO) install override_dh_auto_clean: rm -rf target m2