Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Open Source Tools available.

First search.

Interesting.

Example.

Add at the end of the top level pom.xml there is a section for reoprting, expand as shown next 

<reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <aggregate>true</aggregate>
        </configuration>
      </plugin>
    <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <configuration>     
        <formats>
                <format>xml</format>
                <format>html</format>
        </formats>
        </configuration>
 </plugin>
    </plugins>
  </reporting>
 



Next run mvn cobertura:cobertura.

Under the directories target/site is the beginning of the report.

 Screenshot


  • No labels