I'd like to have my mvn pom only perform certain tests when a condition is met (eg: environment variable).
Eg, if testDbUrl is defined - perform all dao tests under test/dao; otherwise perform all other tests.
I've tried setting a property in my settings.xml and then using that in a profile that attempts to override the surefire
test plugin to no avail.
Build scraps:
Settings.xml (excerpt) :
pom.xml (excerpt)