You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Biestro <he...@apache.org> on 2020/11/02 17:37:52 UTC
[JEXL] Switching from Cobertura to Jacoco
A recent commit in the code line (no pr btw) broke JEXL site's generation ability since Cobertura does not support Java 8 lambda constructs. I've thus been trying to switch to Jacoco as the coverage tool.
I've removed the cobertura.profile, added the jacoco.profile in the conf dir, removed all Cobertura references from the pom.xml and ... nothing. The 'site' target does not produce any coverage report anymore. I've looked at other commons pom (vfs, collections, net), I've seen no explicit mention of Jacoco anywhere besides through the file. The only thing I get in the best case is the cryptic 'unable to read execution file'.
Any hints to what I'm obviously overlooking ?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [JEXL] Switching from Cobertura to Jacoco
Posted by sebb <se...@gmail.com>.
Originally the parent POM handled very little, and the components had
to do much more.
Component POMs had to define settings for plugins such as Cobertura.
Swapping from Cobertura to JaCoCo thus entails more work for
components that started using Cobertura before the parent was updated.
The parent POM now defines much more, so the JEXL POM now only needs
to define the excludes.
S.
On Tue, 3 Nov 2020 at 19:20, Henri Biestro <he...@apache.org> wrote:
>
>
> I still don't get why I need to (re)configure so many plugins in JEXL's pom - any explanation is still welcome - but I managed to switch to Jacoco and Spotbugs. Fighting with maven is always a tad tedious and I still fear trying to release... Migrating to Java 8 code can now resume.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [JEXL] Switching from Cobertura to Jacoco
Posted by Henri Biestro <he...@apache.org>.
I still don't get why I need to (re)configure so many plugins in JEXL's pom - any explanation is still welcome - but I managed to switch to Jacoco and Spotbugs. Fighting with maven is always a tad tedious and I still fear trying to release... Migrating to Java 8 code can now resume.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org