Hi Dennis,

On Sun, Oct 16, 2011 at 6:53 PM, Dennis Lundberg <[email protected]> wrote:

> Hi Miguel
>
> The Cobertura plugin has two parts: one that instruments the code and
> one that generates a report. The first part, which is the one that uses
> <excludes> needs to be configured in the <build> section of your POM.
> The reporting part is configured inside the Site Plugin, like you show
> in your example.
>
> I did not realise the independence of the two parts - when I changed from
maven 2 to maven 3's site plugin I moved the entire configuration from the
build section to the site-plugin configuration.
Splitting up the configuration from the instrumentation and reporting parts
works as expected.

Thanks a lot for clearing it up,

Miguel Almeida

Reply via email to