What version of JaCoCo is sonar-jacoco using

Which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

SonarQube 7.3

What are you trying to achieve?

Figure out the minimum version of SonarQube that excludes Lombok generated methods from the code coverage report.

This feature was added to JaCoCo in Release 0.8.0 (2018/01/02).

What have you tried so far to achieve this?

Searched SonarQube sources to find that it uses sonar-jacoco plugin.

Then, searched sonar-jacoco/ looking for the JaCoCo verison in the gradle dependencies but I could not figure out which version of JaCoCo you are using.


SonarQube doesn’t use JaCoCo; you do. SonarQube just reads the reports. So if you use JaCoCo 0.8.0 then the Lombok-generated methods will be excluded.

And BTW, 7.3 is past EOL. You should upgrade to 8.3, which is the current version, or 7.9.3, the current LTS, at your earliest convenience.


1 Like