Michal Jedynak created MCOBERTURA-157:
-----------------------------------------

             Summary: Add ability to specify external configuration for excludes
                 Key: MCOBERTURA-157
                 URL: https://jira.codehaus.org/browse/MCOBERTURA-157
             Project: Maven 2.x Cobertura Plugin
          Issue Type: Improvement
    Affects Versions: 2.5.1
            Reporter: Michal Jedynak
         Attachments: additionalExcludesConfig.patch

When a number of excludes is high, the size of pom.xml is getting polluted. I 
don't want my pom.xml to be too big, so I'd like to specify the path to file 
with excludes configuration and cobertura should also load excludes from this 
file.  
I'm attaching a patch file that adds such behavior to cobertura.
To use the new feature update your instrumentation configuration:
{code:xml} 
<instrumentation>
  <excludes>
    <exclude>org.apache/excluded/*.class</exclude>
  </excludes>
  <additionalExcludesConfig>excludes.xml</additionalExcludesConfig>
</instrumentation>
{code}

The content of excludes.xml should have the same format as configuration in 
pom.xml:
{code:xml} 
<excludes>
  <exclude>org.springframework/*.class</exclude>
  <exclude>org.junit/*.class</exclude>
</excludes>
{code}





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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


Reply via email to