Unskippable Maven Tests 📎
The following maven plugin configuration introduces "unskippable" unit tests:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
</plugins>
</build>
Even with the mvn clean install -DskipTests
system property, all unit tests are still going to be executed.