Turn off maven loggining in build scripts
Change-Id: I974844430e7f9e588260e88a71b5daa375efd711
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index f9e4200..f9ea36d 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -26,7 +26,7 @@
$ONOS_ROOT/core/net/src/main/java/org/onosproject/core/impl/VersionManager.java
# Augment the version in archetypes tree.
-mvn -B -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
+mvn -q -B -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
for atype in api bundle cli rest ui ui2 uitab uitopo; do
pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml"
sed -i".VERBACK" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom
diff --git a/tools/build/onos-release b/tools/build/onos-release
index af2ade8..7d55923 100755
--- a/tools/build/onos-release
+++ b/tools/build/onos-release
@@ -51,11 +51,11 @@
# Note that release of the staging repository is a separate manual step.
if [ $dryRun -eq 0 ]; then
pushd tools/package/archetypes/
- mvn -B -Pstaging clean install && onos-archetypes-test -Pstaging && mvn -Pstaging -Prelease clean deploy
+ mvn -q -B -Pstaging clean install && onos-archetypes-test -Pstaging && mvn -Pstaging -Prelease clean deploy
popd
else
pushd tools/package/archetypes/
- mvn -B clean install && onos-archetypes-test
+ mvn -q -B clean install && onos-archetypes-test
popd
fi
diff --git a/tools/test/bin/onos-archetypes-test b/tools/test/bin/onos-archetypes-test
index 931a379..79869ce 100755
--- a/tools/test/bin/onos-archetypes-test
+++ b/tools/test/bin/onos-archetypes-test
@@ -25,10 +25,10 @@
for an in api bundle cli rest ui ui2 uitab uitopo; do
cd $AROOT
rm -fr $AROOT/foo-$an
- mvn archetype:generate "$@" $ARCHETYPE_OPTS \
+ mvn -q -B archetype:generate "$@" $ARCHETYPE_OPTS \
-DarchetypeArtifactId=onos-$an-archetype \
-DgroupId=org.foo -DartifactId=foo-$an -Dversion=1.0 \
-Dpackage=org.foo.$an -DinteractiveMode=false
cd $AROOT/foo-$an
- mvn "$@" clean install
+ mvn "$@" -q -B clean install
done