hide the mvn download progress

This commit is contained in:
Rui Lopes 2017-06-02 07:23:09 +01:00
parent 847880c5f0
commit 24a872f385
1 changed files with 5 additions and 3 deletions

View File

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