RE: mvn site running test cases twice

2006-11-08 Thread Orford, Ian
Users List Subject: Re: mvn site running test cases twice On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I am using the surefire report plugin as well as coberatura, javadoc and checkstyle.. When I do a mvn site it runs my test cases twice. Does it happen if you remove the Cobertura plugin? We use

Re: mvn site running test cases twice

2006-11-07 Thread jp4
I removed the coberatura plugin and unit test cases run only once... Here is what I have in my pom build section plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId executions execution goals

Re: mvn site running test cases twice

2006-11-07 Thread Wendy Smoak
On 11/7/06, jp4 [EMAIL PROTECTED] wrote: I removed the coberatura plugin and unit test cases run only once... Here is what I have in my pom ... Any ideas? Looks like the test cases get run during instrumentation? I think it's normal based on Maven's current design. The tests are run once

Re: mvn site running test cases twice

2006-11-07 Thread jp4
This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. Is there any way to instrument without invoking the test cases? It seems like you

Re: mvn site running test cases twice

2006-11-07 Thread Arnaud Bailly
jp4 [EMAIL PROTECTED] writes: This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. Is there any way to instrument without invoking

Re: mvn site running test cases twice

2006-11-07 Thread Craig McClanahan
On 11/7/06, jp4 [EMAIL PROTECTED] wrote: This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. The Shale build also includes

Re: mvn site running test cases twice

2006-11-07 Thread Matt Campbell
From what i read on the maven site plugin, it forks the different report plugins into separate lifecycles. So since both of the plugins require the test cases to be compiled, both lifecycles are going to have to compile them in there own lifecycles. Not sure as I havent done much research on

Re: mvn site running test cases twice

2006-11-04 Thread Wendy Smoak
On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I am using the surefire report plugin as well as coberatura, javadoc and checkstyle.. When I do a mvn site it runs my test cases twice. Does it happen if you remove the Cobertura plugin? We use surefire, javadoc and checkstyle in the Struts build,