Skip to content

Commit

Permalink
Add mvn options to ignore test failures (ohmyzsh#5092)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Shang Yehua authored and avleen committed Dec 23, 2016
1 parent faef789 commit a37106e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mvn/mvn.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a37106e

Please sign in to comment.