I am running Maven build along with EMMA plugin. The goal executed is "mvn -X clean site". Tests are executed fine but during instrumentation we get below exception :
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project projectname: failed to get report for org.codehaus.mojo:emma-maven-plugin: Failed to execute goal org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument (report:emma) on project projectname: Execution report:emma of goal org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument failed: An API incompatibility was encountered while executing org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument: java.lang.ExceptionInInitializerError: null
Any help will be highly appreciated.
Thanks!