Code Coverage Report
Tell Sonar where your code coverage report is: absolute or relative path to the report file for JaCoCo or Cobertura or Clover, directory path for Emma.
First, tell Sonar which code coverage engine has been used to generate the reports: jacoco or cobertura or emma or clover.
<sonar.java.coveragePlugin>jacoco or cobertura or emma or clover</sonar.java.coveragePlugin> Prior to Sonar 3.4, the property was sonar.core.codeCoveragePlugin.
Then, tell Sonar where to get the code coverage reports:
With Maven in your pom file: