Hi,
we are building our project with maven 3.3.9 with following relevant plugins/libraries.
Spring Boot 1.5.3.RELEASE
Jacoco 0.7.9
Mockito 2.8.47
Sonar Maven Plugin 3.3.0.603
SonarQube Version 6.4 (build 25310)
SonarJava 4.10.0.10260
Our problem: jacoco coverage report shows ok coverage for code branch which is mocked in junit test with mockito. However Sonar shows 0% coverage of the same branch.
Coverage values of all other tests which aren't mocked are equal.
Our jacoco.exec file is produced to target/coverage-reports and is found correctly with Sonar plugin.
Test, jacoco and sonar report output.

