Commit d08c39c2 authored by Josh Haberman's avatar Josh Haberman

Put Maven in batch mode to avoid spamming the logs.

parent 483533d3
...@@ -102,19 +102,22 @@ use_java() { ...@@ -102,19 +102,22 @@ use_java() {
java -version java -version
} }
# --batch-mode supresses download progress output that spams the logs.
MVN=mvn --batch-mode
build_java() { build_java() {
# Java build needs `protoc`. # Java build needs `protoc`.
internal_build_cpp internal_build_cpp
cd java && mvn test && mvn install cd java && $MVN test && $MVN install
cd util && mvn test cd util && $MVN test
cd ../.. cd ../..
} }
build_java_with_conformance_tests() { build_java_with_conformance_tests() {
# Java build needs `protoc`. # Java build needs `protoc`.
internal_build_cpp internal_build_cpp
cd java && mvn test && mvn install cd java && $MVN test && $MVN install
cd util && mvn test && mvn assembly:single cd util && $MVN test && $MVN assembly:single
cd ../.. cd ../..
cd conformance && make test_java && cd .. cd conformance && make test_java && cd ..
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment