Hello,

I'd like to setup the cobertura-maven-plugin so that I can do the following (or something close):

Run with cobertura enabled:

mvn -Dcoverage=true test

Run with cobertura disabled:

mvn test

I suppose this is equivalent to 'mvn cobertura' vs. 'mvn test', but it will make more sense the other way for our developers here.

Lastly, it seems that when I run:

"mvn site" with cobertura in my pom.xml, the test appear to be run twice, first 'normally' without cobertura enabled in the test phase, and then a second time with cobertura enabled. Is there a way to prevent this, so only the cobertura tests are run?

Thanks,

Josh

--
Joshua ChaitinPollak
Software Engineer
Kiva Systems



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to