I have the following pom.xml
<project> ... <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <argLine>${failsafeArgLine}</argLine> <includes> <include>**/dmg/*IT.java</include> </includes> <skipTests>${skipTests}</skipTests> </configuration> </execution> </executions> </plugin> ... </project>
The problem is that when I remove the goal of checking , the assembly is successful every time, even if testing fails.
And when I remove the integration test goal, integration tests just don't run
Why does a failover plugin require both integration checks and goal checks?
source share