I have the following plugin defined for cobertura as follows. I have to run mvn cobertura:cobertura to get the code coverage report. How to edit the pom so that mvn install runs the cobertura ?
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>