title: Excluded classes still counting towards total coverage result
body: <p>We have recently upgraded to SonarCube 4.3.2. In he previous version (don't remember what it was) it was possible to select Jacoco as code coverage analyser and to define the excludes in Maven as a simple property;</p>
  
  <p>e.g. </p>
  
  <pre><code>&lt;properties&gt;
      &lt;sonar.jacoco.excludes&gt;*/cache/*:*/*Application.java&lt;/sonar.jacoco.excludes&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>With this version of SonarCube the option to select Jacoco is no longer there so I am trying to get it working in another way. Many many many posts about this subject but none of them solved my problem.
  I managed to exclude classes but these then show as 0% in SonarCube (and bring down the total coverage). Excluding through above property no longer seems to work.</p>
  
  <p>In my pom I have added following plugin:</p>
  
  <pre><code>&lt;plugin&gt;
          &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
          &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;0.6.0.201210061924&lt;/version&gt;
          &lt;configuration&gt;
              &lt;excludes&gt;
                  &lt;exclude&gt;**/SonarTest*&lt;/exclude&gt;
              &lt;/excludes&gt;
          &lt;/configuration&gt;
          &lt;executions&gt;
              &lt;execution&gt;
                  &lt;goals&gt;
                      &lt;goal&gt;prepare-agent&lt;/goal&gt;
                  &lt;/goals&gt;
              &lt;/execution&gt;
              &lt;execution&gt;
                  &lt;id&gt;report&lt;/id&gt;
                  &lt;phase&gt;prepare-package&lt;/phase&gt;
                  &lt;goals&gt;
                      &lt;goal&gt;report&lt;/goal&gt;
                  &lt;/goals&gt;
              &lt;/execution&gt;
          &lt;/executions&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p>The configuration seems ok because in the Jacoco report the class is completely excluded.
  SonarTest is partially tested but with this config it shows as 0% in Sonar so it seems the exclusion is working to some extend. How can I inform Sonar that these excluded classes should be completely ignored coverage-wise. </p>