Posts

Showing posts with the label maven-failsafe-plugin

Maven fail-safe not executing tests

Image
Clash Royale CLAN TAG #URR8PPP Maven fail-safe not executing tests I've combed StackOverflow and many other sites, have found many other related posts and have followed all said suggestions, but in the end, failsafe is skipping my tests. My JUnit test is located here: myModule/src/main/test/java/ClientAccessIT.java myModule/src/main/test/java/ClientAccessIT.java I am skipping surefire because there are no unit tests in this module: <!-- POM snippet --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> And I'm trying to run integration tests with failsafe : <!-- POM snippet --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <id>run-t...