Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Include reporting tools. Run mvn site.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed May 18, 2011
1 parent 4b184ae commit 077141c
Showing 1 changed file with 99 additions and 26 deletions.
125 changes: 99 additions & 26 deletions zanata-parent/pom.xml
Expand Up @@ -141,6 +141,15 @@
<guava.version>r06</guava.version>
<jackson.version>1.5.0</jackson.version>
<icu4j.version>4.4.1.1</icu4j.version>

<cobertura.halt.failure>false</cobertura.halt.failure>
<javadoc.skip>false</javadoc.skip>

<checkstyle.skip>false</checkstyle.skip>
<checkstyle.configLocation></checkstyle.configLocation>
<checkstyle.propertiesLocation></checkstyle.propertiesLocation>
<checkstyle.suppressionsLocation></checkstyle.suppressionsLocation>
<checkstyle.suppressionsFileExpression></checkstyle.suppressionsFileExpression>
</properties>

<build>
Expand Down Expand Up @@ -237,7 +246,42 @@
<pushChanges>true</pushChanges>
</configuration>
</plugin>


<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<configuration>
<formats>
<format>xml</format>
<format>html</format>
</formats>
</configuration>
<check>
<!-- <totalBranchRate>${cobertura.total-branch-rate}</totalBranchRate>
<totalLineRate>${cobertura.total-line-rate}</totalLineRate> -->
<haltOnFailure>${cobertura.halt.failure}</haltOnFailure>
</check>
</configuration>
<executions>
<execution>
<id>site</id>
<phase>site</phase>
<goals>
<goal>check</goal>
<goal>cobertura</goal>
</goals>
</execution>
<execution>
<id>pre-site</id>
<phase>pre-site</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand All @@ -258,6 +302,22 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
</plugin>
<plugin>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
Expand Down Expand Up @@ -746,41 +806,54 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
<skip>${javadoc.skip}</skip>
</configuration>
</plugin>
<!--
We should think about using some of these reports:

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.1</version>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<configuration>
<aggregate>true</aggregate>
<configLocation>${checkstyle.configLocation}</configLocation>
<propertiesLocation>${checkstyle.propertiesLocation}</propertiesLocation>
<suppressionsLocation>${checkstyle.suppressionsLocation}</suppressionsLocation>
<suppressionsFileExpression>${checkstyle.suppressionsFileExpression}</suppressionsFileExpression>
<enableRulesSummary>false</enableRulesSummary>
<skip>${checkstyle.skip}</skip>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<formats>
<format>xml</format>
<format>html</format>
</formats>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.6</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
</plugin>
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<targetJdk>1.6</targetJdk>
</configuration>
</plugin>

</plugins>
</reporting>

Expand Down

0 comments on commit 077141c

Please sign in to comment.