I removed the coberatura plugin and unit test cases run only once...  Here is
what I have in my pom

build section

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

reporting section

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
      </plugin>

Any ideas?  Looks like the test cases get run during instrumentation?

Thanks,
jp4

Wendy Smoak-3 wrote:
> 
> 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, and the tests don't run
> twice.
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/mvn-site-running-test-cases-twice-tf2571386s177.html#a7225137
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to