title: SonarQube + Maven + JaCoCo + GitLab CI: Sonar started to show 0% code coverage after upgrading to SonarQube 7.9.2
body: <p>After we upgraded our SonarQube to <code>Version 7.9.2 (build 30863), Community Edition</code>, running the GitLab CI Pipeline results in showing <code>0.0%</code> coverage (dropping from about <code>86.2%</code>), although Sonar is showing all unit tests.</p>
  
  <p>Maven build executed in <code>.gitlab-ci.yml</code> looks like this:</p>
  
  <pre><code>    - mvn test sonar:sonar -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.login=${SONAR_TOKEN}
  </code></pre>
  
  <p>Obviosuly this has something to deal with notorious <code>sonar.coverage.jacoco.xmlReportPaths</code> and <code>sonar.jacoco.reportPaths</code> Sonar-JaCoCo plugin settings (see <a href="https://docs.sonarqube.org/pages/viewpage.action?pageId=1442166" rel="nofollow noreferrer">https://docs.sonarqube.org/pages/viewpage.action?pageId=1442166</a>).</p>
  
  <p>After looking into the pipeline jobs logs, I found the following (project name obfuscated to <code>myProject</code>):</p>
  
  <p><strong>Before SonarQube upgrade:</strong></p>
  
  <pre><code>[INFO] Sensor JaCoCo XML Report Importer [jacoco]
  [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
  [INFO] Sensor SurefireSensor [java]
  [INFO] parsing [/builds/myProject/target/surefire-reports]
  [INFO] Sensor SurefireSensor [java] (done) | time=87ms
  [INFO] Sensor JaCoCoSensor [java]
  [WARNING] Property 'sonar.jacoco.reportPaths' is deprecated (JaCoCo binary format). 'sonar.coverage.jacoco.xmlReportPaths' should be used instead (JaCoCo XML format). Please check that the JaCoCo plugin is installed on your SonarQube Instance.
  [INFO] Analysing /builds/myProject/target/jacoco.exec
  [INFO] Sensor JaCoCoSensor [java] (done) | time=206ms
  </code></pre>
  
  <p><strong>After SonarQube upgrade:</strong></p>
  
  <pre><code>[INFO] Sensor JaCoCo XML Report Importer [jacoco]
  [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
  [INFO] Sensor SurefireSensor [java]
  [INFO] parsing [/builds/myProject/target/surefire-reports]
  [INFO] Sensor SurefireSensor [java] (done) | time=86ms
  [INFO] Sensor JavaXmlSensor [java]
  [INFO] 1 source files to be analyzed
  [INFO] Sensor JavaXmlSensor [java] (done) | time=302ms
  </code></pre>
  
  <p>Therefore the are obviously some differences in regards to <code>sonar.jacoco.reportPaths</code> setting.
  Notably, I don't explicitly set any of the two settings.</p>
  
  <p>How to fix parsing of the JaCoCo report so that it works (regardless with old or new setting)?</p>