Created
February 14, 2021 10:06
-
-
Save BenjaminKlatt/2e8d72776457a9636166354167e576d7 to your computer and use it in GitHub Desktop.
Maven configuration to run integration tests only for integration test maven module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Integration Test Phase with failsafe --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.22.0</version> | |
<configuration> | |
<excludes> | |
<exclude>*</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
<!-- Skip install and deploy phase for integration tests --> | |
<plugin> | |
<artifactId>maven-install-plugin</artifactId> | |
<version>2.5.2</version> | |
<configuration> | |
<skip>true</skip> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-deploy-plugin</artifactId> | |
<version>2.8.2</version> | |
<configuration> | |
<skip>true</skip> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment