[ 
http://jira.codehaus.org/browse/MCOBERTURA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231826#action_231826
 ] 

gontard commented on MCOBERTURA-75:
-----------------------------------

        
        Awaiting the release 2.5, i found with workaround :
{code:xml}
<build>
  <plugins>
<!-- skip test coverage -->
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>cobertura-maven-plugin</artifactId>
<!-- TODO : replace with skip=true when version 2.5 will be available -->
<!-- remove the default mapping of cobertura executions -->
      <executions>
        <execution>
          <id>process-cobertura</id>
          <phase>none</phase>
        </execution>
        <execution>
          <id>clean-cobertura</id>
          <phase>none</phase>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>
{code} 

> Ability to skip execution
> -------------------------
>
>                 Key: MCOBERTURA-75
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-75
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Wendy Smoak
>            Assignee: Mark Struberg
>             Fix For: 2.5
>
>
> I'm seeing build errors in modules with no source code and would like to skip 
> the execution of Cobertura for those modules.  
> Something like <configuration><skip>true</skip></configuration> should work 
> in the modules that I want Cobertura to ignore.

-- 
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


Reply via email to