Following error occured whlile executing maven(mvn clean install)
Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644 :prepare-agent (default) on project testng: Execution default of goal org.jacoco :jacoco-maven-plugin:0.7.2.201409121644:prepare-agent failed: Unable to load the mojo 'prepare-agent' in the plugin 'org.jacoco:jacoco-maven-plugin:0.7.2.201409 121644'. A required class is missing: org/jacoco/core/runtime/AgentOptions
Please find the pom
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.3.201306030806</version>
<executions>
<execution>
<id>jacoco-initialize</id>
<phase>initialize</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>