How to exclude a report defined in a parent pom?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to exclude a report defined in a parent pom?

Mirko Friedenhagen-5
Hello,

I am playing with jacoco for code-coverage. Now in my parent-pom I
have already defined cobertura for this. While it is quite easy to
disable the instrumentation via cobertura by setting the property
cobertura.skip=true, building the site always fails, as
cobertura:cobertura does not find the results.
Is there a way to exclude a specific report in a child project?

Regards Mirko

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

RE: How to exclude a report defined in a parent pom?

Robert Scholte
Have you tried an empty reports-tag?
http://maven.apache.org/ref/3.0.4/maven-model/maven.html#class_reportSet

> From: [hidden email]

> Date: Tue, 15 Jan 2013 21:13:53 +0100
> To: [hidden email]
> Subject: [mojo-user] How to exclude a report defined in a parent pom?
>
> Hello,
>
> I am playing with jacoco for code-coverage. Now in my parent-pom I
> have already defined cobertura for this. While it is quite easy to
> disable the instrumentation via cobertura by setting the property
> cobertura.skip=true, building the site always fails, as
> cobertura:cobertura does not find the results.
> Is there a way to exclude a specific report in a child project?
>
> Regards Mirko
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>