Add mvn options to ignore test failures (#5092)

add "-Dmaven.test.failure.ignore=true" .
This option will not ignore all tests but ignore the failures when run tests.

See http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#testFailureIgnore
This commit is contained in:
Shang Yehua 2016-05-14 18:14:34 +08:00 committed by Marc Cornellà
parent 4a1e89c58b
commit 5aa7e0f600

View File

@ -171,7 +171,7 @@ function listMavenCompletions {
gwt:browser gwt:clean gwt:compile gwt:compile-report gwt:css gwt:debug gwt:eclipse gwt:eclipseTest gwt:generateAsync gwt:help gwt:i18n gwt:mergewebxml gwt:resources gwt:run gwt:sdkInstall gwt:source-jar gwt:soyc gwt:test
# options
-Dmaven.test.skip=true -DskipTests -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven
-Dmaven.test.skip=true -DskipTests -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven -Dmaven.test.failure.ignore=true
# arguments
-am -amd -B -C -c -cpu -D -e -emp -ep -f -fae -ff -fn -gs -h -l -N -npr -npu -nsu -o -P -pl -q -rf -s -T -t -U -up -V -v -X