From 24a872f385b6bbd0852e2934ae344cada2c1b7d2 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Fri, 2 Jun 2017 07:23:09 +0100 Subject: [PATCH] hide the mvn download progress --- provision/test.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/provision/test.sh b/provision/test.sh index 2e2b49d..d65a21a 100644 --- a/provision/test.sh +++ b/provision/test.sh @@ -124,11 +124,11 @@ EOF # test our nexus repository by creating an hello world project, which # will pull from our nexus repository. mvn \ + --batch-mode \ archetype:generate \ -DgroupId=com.example.helloworld \ -DartifactId=example-helloworld \ - -DarchetypeArtifactId=maven-archetype-quickstart \ - -DinteractiveMode=false + -DarchetypeArtifactId=maven-archetype-quickstart # test publishing a package. pushd example-helloworld @@ -155,7 +155,9 @@ xml = open("pom.xml").read().replace("@@repositories@@", """ open("pom.xml", "w").write(xml) ' # deploy. -mvn deploy +mvn \ + --batch-mode \ + deploy popd