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>
This commit is contained in:
Pekka Enberg 2016-06-01 11:35:58 +03:00
parent c6edab5990
commit 36ae2fcfd7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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