[
https://issues.apache.org/jira/browse/SUREFIRE-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185112#comment-17185112
]
Tibor Digana commented on SUREFIRE-1835:
----------------------------------------
[~nitor-jonasb]
You should send an email to
> failsafe plugin's verify goal does not honor `mvn --fail-at-end`
> ----------------------------------------------------------------
>
> Key: SUREFIRE-1835
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1835
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Failsafe Plugin
> Affects Versions: 2.20.1, 3.0.0-M4
> Environment: Maven 3.6.3
> Reporter: Jonas Berlin
> Priority: Minor
>
> If I run {color:#ff0000}{{mvn --fail-at-end verify}}{color} on a multi-module
> project with the following configuration in several modules
> {{<plugin>}}
> {{ <artifactId>maven-failsafe-plugin</artifactId>}}
> {{ <version>3.0.0-M4</version>}}
> {{ <executions>}}
> {{ <execution>}}
> {{ <goals>}}
> {{ <goal>integration-test</goal>}}
> {{ <goal>verify</goal>}}
> {{ </goals>}}
> {{ </execution>}}
> {{ </executions>}}
> {{ <configuration>}}
> {{ <includes>}}
> {{ <include>${integration.test.glob}</include>}}
> {{ </includes>}}
> {{ </configuration>}}
> {{</plugin>}}
> h2. Expected behaviour:
> Due to the {{{color:#FF0000}--fail-at-end{color}}} flag, tests of all modules
> are run regardless of failures and after that the maven build fails in case
> of failures.
> h2. Actual behaviour:
> The "verify" goal halts the build at the first module with a problem. If I
> add <testFailureIgnore>true</testFailureIgnore> in the <configuration>
> section, it *does* run tests of all modules, but then the maven build exits
> with success regardless of failures.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)