HBASE-16124 Make check_compatibility.sh less verbose when building HBase

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Dima Spivak 2016-06-27 11:29:23 -07:00 committed by Sean Busbey
parent 2d93444cb0
commit 1fbded61c1
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ for ref in 1 2; do
exit 2
fi
echo "Building ${COMMIT[${ref}]}..."
if ! mvn clean package -DskipTests; then
if ! mvn clean package --batch-mode -DskipTests; then
echo "Maven could not successfully package ${COMMIT[${ref}]}. Exiting..." >&2
exit 2
fi
@ -211,7 +211,7 @@ for ref in 1 2; do
pushd ${SCRIPT_DIRECTORY}/target/compatibility/${ref} > /dev/null
echo "The --no-checkout option was specified, but no JARs were found." \
"Attempting to build ${COMMIT[${ref}]}..."
if ! mvn clean package -DskipTests; then
if ! mvn clean package --batch-mode -DskipTests; then
echo "Maven could not successfully package ${COMMIT[${ref}]}. Exiting..." >&2
exit 2
fi