https://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html
bash$ mvn clean install -Dmaven.test.skip=true
<project>
[...]
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
[...]
</project>