Hi Igal, On Thursday, December 21, 2017 at 12:23:13 PM UTC+1, Igal Kopelman wrote: > > I just want to see if I understand things right: > The exec file format is not changed and will not be changed in 0.7.10 > official release and 0.8.0 versions (in respect to the lombok filtering), > and this is by design? >
There won't be 0.7.10 release. Current 0.7.10-SNAPSHOT will be released as 0.8.0. exec-file format is not changed by design: if it would change, then current version of Java plugin for SonarQube (as well as JaCoCo plugin for Jenkins) won't even be able to read it, what is even worse than not having filtering. The Sonar needs to be "updated" (how?) > > Is there a way to do that right now, with the 0.7.10-SNAPSHOT? to be able > (also) to filter the lombok annotations in the exec file? Java plugin for SonarQube should be updated to use JaCoCo 0.8.0 for generation of report - https://github.com/SonarSource/sonar-java/blob/5.0.0.12796/pom.xml#L91 And they are aware of this and will do the update - https://groups.google.com/d/msg/sonarqube/wyDtmcGvy1k/3q668XPNDAAJ As well as any downstream projects like Jenkins that do not use XML report but instead generate their own from exec file. We'll help / collaborate at least with SonarQube developers to address this once JaCoCo 0.8.0 will be released. Today gonna discuss with them plan and time frame of this. Please understand that propagation to downstream projects takes time and energy. Thank you for your patience. Regards, Evgeny > Thanks, > > Igal > > On Thursday, December 21, 2017 at 12:17:11 PM UTC+2, Marc R. Hoffmann > wrote: >> >> 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 >> >> <https://groups.google.com/d/msgid/jacoco/ff12bf84-5971-4fab-8781-368974a7adf1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> >> > -- 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/0228a124-bdeb-44ce-b3c7-acf4f4b9788c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
