A small change in the droolsjbpm-parent pom's surefire plugin:
"mvn test" will run all tests, except those with the name
The latter will be run by "mvn integration-test", which is run after
"mvn package" and before "mvn install" automatically.
Any tests that were named *IntegrationTest but need to be run during
"mvn test", have been renamed appropriately.
Only guvnor currently has tests named *IntegrationTest that have to be
run after the war has been created by "mvn package".
PS: If you have tests that shouldn't run:
- either @Ignore them (so they are reported in hudson)
- or declare the class abstract: public abstract class ...
But do not exclude them in an overridden maven-surefire-plugin
With kind regards,
Geoffrey De Smet
Show replies by thread