hide the mvn download progress
This commit is contained in:
parent
847880c5f0
commit
24a872f385
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue