1 of 1 people found this helpful
You can probably take a look at the failsafe plugin: https://maven.apache.org/plugins/maven-failsafe-plugin/
If you call your test with the IT suffix they are going to be executed in a different phase and you can exclude them when you don't need them.
For skipping testst: https://maven.apache.org/plugins/maven-failsafe-plugin/examples/skipping-test.html
An alternative could be to create a different project for the integration tests.
Or you can do that via surefire plugin configuration, like in the following pom:
Focus on includes/excludes section and make it different in every profile if you want
Or build a different profile for your arquillian-based tests