Skip to content
Browse files
[JENKINS-15865] Jenkins build fails with fatal error for Maven 2 build
of project with maven-failsafe-plugin

Do not inject testFailureIgnore to
maven-failsafe-plugin:integration-test because it doesn't exist and
causes an NPE with Maven2.
Only insert it for maven-failsafe-plugin:verify.
Originally-Committed-As: 7fb1ad44d5aa26f2b0c6717c589b6d2be698224d
  • Loading branch information
Vlatombe committed Nov 20, 2012
1 parent bfa16d5 commit 0a1f30181ef06745abfbc2ab5b90c4001f86aa10
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/java/hudson/maven/reporters/
@@ -319,7 +319,6 @@ private boolean isAndroidMojo(MojoInfo mojo) {

private boolean isSurefireOrFailsafeMojo(MojoInfo mojo) {
return"org.apache.maven.plugins", "maven-surefire-plugin", "test")
||"org.apache.maven.plugins", "maven-failsafe-plugin", "integration-test")
||"org.apache.maven.plugins", "maven-failsafe-plugin", "verify");

0 comments on commit 0a1f301

Please sign in to comment.