surefire forkMode setting

View: New views
2 Messages — Rating Filter:   Alert me  

surefire forkMode setting

by Lukas Theussl-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

Is there any reason why we have this setting in the doxia parent pom:

         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <configuration>
             <forkMode>never</forkMode>
           </configuration>
         </plugin>



I just noticed that this is the cause of cobertura reporting 0% coverage
everywhere, see eg [1] (this is the same as reported at [2]). Leaving the forkMode
at once (the default), cobertura works correctly. Any objections to remove that part?

-Lukas


[1] http://maven.apache.org/doxia/doxia/doxia-core/cobertura/index.html
[2] http://jira.codehaus.org/browse/MCOBERTURA-70

Re: surefire forkMode setting

by Vincent Siveton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Go ahead.

Cheers,

Vincent

2009/4/3 Lukas Theussl <ltheussl@...>:

>
> Hi,
>
> Is there any reason why we have this setting in the doxia parent pom:
>
>        <plugin>
>          <artifactId>maven-surefire-plugin</artifactId>
>          <configuration>
>            <forkMode>never</forkMode>
>          </configuration>
>        </plugin>
>
>
>
> I just noticed that this is the cause of cobertura reporting 0% coverage
> everywhere, see eg [1] (this is the same as reported at [2]). Leaving the
> forkMode at once (the default), cobertura works correctly. Any objections to
> remove that part?
>
> -Lukas
>
>
> [1] http://maven.apache.org/doxia/doxia/doxia-core/cobertura/index.html
> [2] http://jira.codehaus.org/browse/MCOBERTURA-70
>