Versions Compared


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


  1. Add the '' when executing the maven plugin. This can be set in pom.xml or in command line.

As it is possible for surefire and Cobertura, reusing already generated Emma reports is possible: the 'sonar.emma.reportPath' must be defined to indicate the directory where the .ec and the .em Emma files are generated.


  1. Or use the 'reuseReports' mode:

    Code Block
    titlereuseReports mode
    <!-- Path to the .ec and .em Emma files -->
titleSupported report formats

Note that only reports of offline instrumentation are currently supported (*.ec and *.em files).

XML or HTML formats are not.