[
http://jira.codehaus.org/browse/MCOBERTURA-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MCOBERTURA-44.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1
The documentation is now correct regarding the configuration of regular
expressions.
> Regex configuration cannot be set
> ---------------------------------
>
> Key: MCOBERTURA-44
> URL: http://jira.codehaus.org/browse/MCOBERTURA-44
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: Windows 2000 JDK 1.5
> Reporter: Todd Nine
> Priority: Blocker
> Fix For: 2.1
>
> Attachments: error1.txt
>
>
> I cannot set the regex patter for our coverage testing. For instance the
> following configuration
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>cobertura-maven-plugin</artifactId>
> <configuration>
> <check branchrate="100" linerate="100"
> haltonerror="true"
> totalbranchrate="100" totallinerate="80">
> <regex
> pattern="com.ata.encryption.*"
> branchrate="80"
> linerate="90" />
> <regex
> pattern="com.ata.encryption.util.*"
> branchrate="40"
> linerate="30" />
> </check>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>clean</goal>
> <goal>check</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> Produces the attachec stacktrace. I cannot individually set packages. Note
> that this is from the current documentation located at
> http://mojo.codehaus.org/cobertura-maven-plugin/usage.html#Check
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email