[ 
https://jira.codehaus.org/browse/MCOBERTURA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285754#comment-285754
 ] 

Robert Scholte commented on MCOBERTURA-154:
-------------------------------------------

http://mojo.codehaus.org/cobertura-maven-plugin/xref/org/codehaus/mojo/cobertura/CoberturaReportMojo.html#46
http://maven.apache.org/developers/mojo-api-specification.html#The_Descriptor_and_Annotations

I don't see a solution how to skip the fork.
                
> skip still forks a life cycle
> -----------------------------
>
>                 Key: MCOBERTURA-154
>                 URL: https://jira.codehaus.org/browse/MCOBERTURA-154
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600)
> Maven home: D:\maven\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: D:\j2sdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
>            Reporter: Jim McCaskey
>         Attachments: pom.xml
>
>
> Attached is a pom.xml that shows this problem.  It seems that if you add the 
> configuration option skip=true, the plugin is still forking off a separate 
> run of the lifecycle.  It should not do that.
> To reproduce:
> # Run the attached Maven pom.xml using maven 3.0.3 (I have also tested this 
> with Maven 2.2.1) with this cli: {code}
> mvn install cobertura:cobertura
> {code}
> # Note the results of the run
> Result:
> The below line is seen twice in the output but should only be seen once{code}
>      [echo] Running antrun plugin....
> {code}
> Expected result:
> The line {code}
>      [echo] Running antrun plugin....
> {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