>From the integration test, I see this in the top-level pom.
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>
On Thu, Apr 21, 2011 at 3:58 PM, Mirko Friedenhagen
<[email protected]> wrote:
> Hello,
>
> I am trying to use cobertura 2.5 with Maven 3.0.3 and want it's
> reports to be aggregated in a multi-module build What am I
> doing wrong?
>
> Looking at
> http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5/src/main/java/org/codehaus/mojo/cobertura/CoberturaReportMojo.java
> it seems to me, that the cobertura goal should be invoked during the
> test phase. Right now, when I invoke "mvn clean install site" IMO this
> goal should be invoked automatically. But I do not see the html or xml
> report in the modules. The output of "mvn clean install site" may be
> found at http://pastebin.com/MrvWefeV, the source code for this was:
> https://github.com/mfriedenhagen/multi-module-sample/commit/d25db3666b4f9388ca0879378b4917a89062323d
>
> Thanks for your answers
> A confused Mirko
> --
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/
> https://bitbucket.org/mfriedenhagen/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]