title: Seed sonar with junit and integration-test report(jacoco.exec) from maven
body: <p>I have a project, for which I have already have generated jacoco.exec report files using jacoco plugin for junit test case and integration test.</p>
  
  <p>This is the maven properties I use for sonar:   </p>
  
  <pre><code>&lt;sonar.jacoco.itReportPath&gt;${project.basedir}/target/it/jacoco.exec&lt;/sonar.jacoco.itReportPath&gt;
  &lt;sonar.jacoco.reportPath&gt;${project.basedir}/target/junit/jacoco.exec&lt;/sonar.jacoco.reportPath&gt;
  &lt;!-- Tells Sonar to run the unit tests --&gt;
  &lt;sonar.dynamicAnalysis&gt;reuseReports&lt;/sonar.dynamicAnalysis&gt;
  &lt;!-- Tells Sonar to use JaCoCo as the code coverage tool --&gt;
  &lt;sonar.java.coveragePlugin&gt;jacoco&lt;/sonar.java.coveragePlugin&gt;
  &lt;sonar.language&gt;java&lt;/sonar.language&gt;
  </code></pre>
  
  <p>I created profile for sonar like below:</p>
  
  <pre><code>&lt;profile&gt;
    &lt;id&gt;sonar-run&lt;/id&gt;
    &lt;activation&gt;
      &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
    &lt;/activation&gt;
    &lt;properties&gt;
      &lt;sonar.jdbc.url&gt;
        jdbc:mysql://localhost:3306/sonar
      &lt;/sonar.jdbc.url&gt;
      &lt;sonar.jdbc.username&gt;sonar&lt;/sonar.jdbc.username&gt;
      &lt;sonar.jdbc.password&gt;123qwe&lt;/sonar.jdbc.password&gt;
      &lt;sonar.host.url&gt;
        http://localhost:9000/
      &lt;/sonar.host.url&gt;
    &lt;/properties&gt;
  &lt;/profile&gt;
  </code></pre>
  
  <p>The problem I face is, I am able to see the unit test code-coverage in sonar, but I am not able to see the integration-test code-coverage. </p>
  
  <p>I run the maven command many ways some thing like this:</p>
  
  <pre><code>mvn verify -P sonar-run sonar:sonar
  mvn verify -P sonar-run sonar:sonar -Dtests=false
  mvn clean install -P sonar-run sonar:sonar
  </code></pre>
  
  <p>but still I am not able to see the integration-test code coverage in sonar, am I missing some step? </p>
  
  <p>I use sonar 4.0, java-7.</p>
  
  <p><strong>Note:</strong> For us the jacoco.exec files are already generated in some other run, I just want to seed them to sonar if possible, this way we will gain some performance improvement.</p>