We do not extract integration tests into a separate module
In our project, we do this as follows:
<profiles> <profile> <id>nointegration</id> <properties> <integration.tests.includes>none</integration.tests.includes> </properties> </profile> ... </profiles>
If we do not want to run integration tests:
mvn clean install -Pnointegration
therefore, only a regular test was performed without integration
source share