Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add the 'sonar.java.coveragePlugin=emma' when executing the maven plugin. This can be set in pom.xml or in command line.
  2. Or use the 'reuseReports' mode:

    Code Block
    titlereuseReports mode
    languagehtml/xml
    <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
    <!-- Path to the .ec and .em Emma files -->
    <sonar.emma.reportPath>emmaDir</sonar.emma.reportPath> 

     

     

Info
titleSupported report formats

Note that only reports of offline instrumentation are currently supported (*.ec and *.em files). XML or HTML formats are not.

...