Hi,
we're using jacoco to generate test coverage reports for our tycho modules.
Jacoco generates a separate report for each test module but for the final
report we need these in an aggregated manner. Jacoco will aggregate the reports
automatically if we set the same report output file for each test module.
But were to place these file properly?
I decided to put it in "${user.dir}/target/jacoco.exec" which is actually the
parents target folder. At first this worked fine but now has maven decided to
build the parent at last... so while building the parent project at the end of
the build the clean phase is invoked and the reports are gone.. :-(
Any idea how to aggregate the Jacoco reports properly? Or how to ensure that
the parent will be build at first?
Bernd
> -----Ursprüngliche Nachricht-----
> Von: Karl Heinz Marbaise [mailto:[email protected]]
> Gesendet: Montag, 15. August 2011 12:32
> An: [email protected]
> Betreff: Re: How to ensure that parent is build first?
>
> Hi,
>
> why do you need to be sure about? Apart from that the root of a multimodule
> build is build first...but a parent can only be of packaging type pom so the
> question is: Why do you need that?
>
> May be you can post your pom's and the structure of your project which will
> bring us into the state to give better hints...
>
> Kind regards
> Karl Heinz Marbaise
>
> -----
> Kind regards
> Karl Heinz Marbaise
> ----
> http://www.soebes.de
> http://www.skmwiki.de
> http://supose.org/wiki/supose
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-to-ensure-that-parent-is-build-
> first-tp4700510p4700532.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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]