You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by alexis parratte <ap...@gmail.com> on 2006/05/17 15:30:54 UTC
problems withcobertura plugins
hi,
i have a problem with cobertura plugin v-2.0
this is a part of my build:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>clean</goal>
<goal>check</goal>
</goals>
<configuration>
<check haltonerror="true">
<totalBranchRate>30</totalBranchRate>
<totalLineRate>30</totalLineRate>
</check>
<excludes>
<exclude>**/*Impl*</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
the goal "check" is ok but it don't take account the <exclude> part and i
always have these classes
in the report
someone have an idea
thanks
Alexis
Re: problems withcobertura plugins
Posted by Edwin Punzalan <ep...@exist.com>.
There's no <excludes> parameter for the "check" goal.
alexis parratte wrote:
> hi,
> i have a problem with cobertura plugin v-2.0
>
> this is a part of my build:
> <plugin>
>
> <groupId>org.codehaus.mojo</groupId>
>
> <artifactId>cobertura-maven-plugin</artifactId>
>
> <version>2.0</version>
>
> <executions>
>
> <execution>
>
> <phase>pre-site</phase>
>
> <goals>
>
> <goal>clean</goal>
>
> <goal>check</goal>
>
> </goals>
>
> <configuration>
>
> <check haltonerror="true">
>
> <totalBranchRate>30</totalBranchRate>
>
> <totalLineRate>30</totalLineRate>
>
> </check>
>
> <excludes>
>
> <exclude>**/*Impl*</exclude>
>
> </excludes>
>
> </configuration>
>
> </execution>
>
> </executions>
>
> </plugin>
>
> the goal "check" is ok but it don't take account the <exclude> part and i
> always have these classes
> in the report
> someone have an idea
>
> thanks
> Alexis
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org