[
http://jira.codehaus.org/browse/MCOBERTURA-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102997
]
Dennis Lundberg commented on MCOBERTURA-44:
-------------------------------------------
D.M.A. Gunawardana,
You seem to have a completely different issue. This issue is about the
documentation not being correct for configuring regular expressions. Please
file a new issue for your problem.
> 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
> 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