Hi Igal, 

your observation is correct: With the new filtering feature in
7.10-SNAPSHOT the exec file format has not been touched. Filtering
happens at analysis time (report generation). As long as Sonar does not
use a new JaCoCo release it will not support filtering. 

We hope to release 0.8.0 these days... stay tuned. 

Cheers,
-marc 

On 2017-12-21 10:59, Igal Kopelman wrote:

> Hello, 
> 
> I are using Lombok plugin in our Java code and interested in getting a true 
> coverage information in the Sonar final report. 
> 
> I am using the Jacoco 7.10-SNAPSHOT version right now and was able (by using 
> the "lombok.addLombokGeneratedAnnotation = true"  in the lombok.config file) 
> to generate a "correct" html jacoco reports - which do ignore correctly the 
> lombok annotations when calculating the code coverage percentage. 
> However - the jacoco.exec file which is also generated, and it's path is 
> passed to the SonarQube, still seems to ignore that  lombok.config file 
> configuration and the coverage which is reflected in it are same as if I am 
> using jacoco 0.7.9 
> 
> Is that by design? Or am I doing something wrong? 
> 
> Thanks, 
> 
> Igal 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/ff12bf84-5971-4fab-8781-368974a7adf1%40googlegroups.com
>  [1].
> For more options, visit https://groups.google.com/d/optout.

  

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/ff12bf84-5971-4fab-8781-368974a7adf1%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/3447158564c4f74c05d5238382d803d4%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to