Get code coverage for Java project with Cobertura. The plugin is based on the cobertura-maven-plugin and so can only be used to compute code coverage information on Maven projects.
Sonar SonarQubeTM Java Plugin
- Install the Cobertura plugin through the Update Center (since Sonar 3.5) or download it into the SONAR_HOME/extensions/plugins directory from the Java Ecosystem page
- Restart the Sonar server
In case the cobertura-maven-plugin is defined in the pom.xml of your project, Sonar SonarQubeTM will use the version defined in the pom and can potentially not function properly.