Hi,
I am trying to use Maven Cobertura Plugin. I want to setup different
lineRate/branchRate for different packages. But this doesnt seem to be
working.
1. haltnFailure does not work even if I set the values to 100 for the top
level module.
2. regex doesnt seem to do anything. I specified higher values for critical
code and lower values for un-important code. But I dont see any difference.
Any ideas ?
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
<formats>
<format>xml</format>
</formats>
<check>
<haltOnFailure>true</haltOnFailure>
<branchRate>90</branchRate>
<lineRate>90</lineRate>
<totalBranchRate>90</totalBranchRate>
<totalLineRate>90</totalLineRate>
<packageLineRate>90</packageLineRate>
<packageBranchRate>90</packageBranchRate>
<regexes>
<regex>
<pattern>com.abc.t3.st</pattern>
<branchRate>90</branchRate>
<lineRate>90</lineRate>
</regex>
<regex>
<pattern>com.abc.t3.findservice.impl</pattern>
<branchRate>40</branchRate>
<lineRate>30</lineRate>
</regex>
</regexes>
</check>
</configuration>
</plugin>
--
View this message in context:
http://www.nabble.com/maven-cobertura-plugin---haltonFailure---tp23675026p23675026.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]