views:

339

answers:

1

Can anyone tell me to locate and download the cobertura maven plugin? I've looked on the web. On the Corbertura homepage there is a URL http://maven-plugins.sourceforge.net/repository/maven-plugins/ to the download, but that page is dead.

+1  A: 

The Cobertura plugin for Maven can be downloaded from the Maven central repository, however you shouldn't need to download the plugin directly, it is sufficient to declare the plugin in your POM, Maven will download it automatically from the central repository (assuming you have an internet connection).

The configuration would be something like this:

<reporting>
  <plugins>
    ...
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>cobertura-maven-plugin</artifactId>
      <version>2.3</version>
    </plugin>
  </plugins>
</reporting>
Rich Seller