Friday, May 27, 2011

maven reports


<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
</links>
</configuration>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.0</version>
</plugin>
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version> <reportSets> <reportSet> <reports> <report>dependencies</report>
<report>project-team</report> <report>mailing-list</report> <report>cim</report>
<report>issue-tracking</report> <report>license</report> <report>scm</report>
</reports> </reportSet> </reportSets> </plugin> -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.3-SNAPSHOT</version>
</plugin>

</plugins>
</reporting>


Maven Build targets
mvn findbugs:findbugs
mvn jxr:test-jxr
mvn jxr:jxr
mvn surefire-report:report
mvn surefire:tests
mvn checkstyle:checkstyle
mvn project-info-reports:dependencies
mvn project-info-reports:cim
mvn project-info-reports:index
mvn javadoc:javadoc
mvn site:run
mvn help:effective-pom

No comments: