We have a need to be able to skip a submodule in certain environments.
The module in question contains integration tests and takes half an hour to run. So we want t
Sure, this can be done using profiles. You can do something like the following in your parent pom.xml.
... module1 module2 ... ... ci module1 module2 ... module-integration-test ...
In your CI, you would run maven with the ci profile, i.e. mvn -P ci clean install
ci
mvn -P ci clean install