5aa7e0f60049b6501d3587dcd4355706ce1cbe34
Author Shang Yehua <niceshang@163.com> Committer Marc Cornellà <marc.cornella@live.com> Date 2016-05-14 10:14 UTC
Message 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
Diff 1 diff --git a/plugins/mvn/mvn.plugin.zsh b/plugins/mvn/mvn.plugin.zsh
2 index 8324c495ba9b9637c8c98947e7a4ffceac120883..7aaab0e183d7fa0fb50e28214b2ec2aee60d98d4 100644
3 --- a/plugins/mvn/mvn.plugin.zsh
4 +++ b/plugins/mvn/mvn.plugin.zsh
5 @@ -171,7 +171,7 @@ function listMavenCompletions {
6 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
7
8 # options
9 - -Dmaven.test.skip=true -DskipTests -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven
10 + -Dmaven.test.skip=true -DskipTests -Dmaven.surefire.debug -DenableCiProfile -Dpmd.skip=true -Dcheckstyle.skip=true -Dtycho.mode=maven -Dmaven.test.failure.ignore=true
11
12 # arguments
13 -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