Hello,
  found answer on this forum (hope you solved in meantimeO)
FYI here's configuration you need in your pom.xml

<build>
     ....
     <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                        <configuration>
                        <check>
                            <haltOnFailure>true</haltOnFailure>
                            <totalBranchRate>60</totalBranchRate>
                            <totalLineRate>70</totalLineRate>
                        </check>
                    </configuration>
                    <executions>
                  <execution>
                    <goals>
                      <goal>clean</goal>
                      <goal>check</goal>
                    </goals>
                  </execution>
                </executions>
        </plugin>


hth
 marco




Tilman.Rossmy wrote:
> 
> Anybody knows how to make the cobertura test coberage report generation
> work? Right now the site plugin seems to generate the reports with a
> wrong cobertura.ser file so that test coverage is always 0 % 
> Kind regards
> Tilman
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cobertura-tf3439354s177.html#a13074724
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