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 # test our nexus repository by creating an hello world project, which
# will pull from our nexus repository. # will pull from our nexus repository.
mvn \ mvn \
--batch-mode \
archetype:generate \ archetype:generate \
-DgroupId=com.example.helloworld \ -DgroupId=com.example.helloworld \
-DartifactId=example-helloworld \ -DartifactId=example-helloworld \
-DarchetypeArtifactId=maven-archetype-quickstart \ -DarchetypeArtifactId=maven-archetype-quickstart
-DinteractiveMode=false
# test publishing a package. # test publishing a package.
pushd example-helloworld pushd example-helloworld
@ -155,7 +155,9 @@ xml = open("pom.xml").read().replace("@@repositories@@", """
open("pom.xml", "w").write(xml) open("pom.xml", "w").write(xml)
' '
# deploy. # deploy.
mvn deploy mvn \
--batch-mode \
deploy
popd popd