I would like to build my project skipping my acceptance tests, but still run
my unit tests.  This seems simple enough if I alter the includes/excludes
for the surefire plugin, but I want to make this decision at the command
line.  Essentially what I want is a property like this:
-Dmaven.acceptance.test.skip=true  which still runs my regular unit tests.



I've spent quite a bit of time researching this, but I'm pretty new to
Maven, so I haven't had much luck.  Any direction would be appreciated.



Thanks



Bryan



In case it helps, a little background:  My goal is to have two build
configurations in our continous integration system (Team City, in our case).
The first build is quick and runs on any checkin.  It will compile and run
the unit tests.  The second takes MUCH longer, but runs all the clover
coverage, acceptance tests, etc, but only runs twice a day (because it takes
so damn long).

Reply via email to