You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2012/01/29 21:00:25 UTC

svn commit: r1237444 - /incubator/rat/whisker/trunk/pom.xml

Author: rdonkin
Date: Sun Jan 29 20:00:24 2012
New Revision: 1237444

URL: http://svn.apache.org/viewvc?rev=1237444&view=rev
Log:
WHISKER-1 Basic reports. Many thanks to Hugo Hirsch for the patch.

Modified:
    incubator/rat/whisker/trunk/pom.xml

Modified: incubator/rat/whisker/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/whisker/trunk/pom.xml?rev=1237444&r1=1237443&r2=1237444&view=diff
==============================================================================
--- incubator/rat/whisker/trunk/pom.xml (original)
+++ incubator/rat/whisker/trunk/pom.xml Sun Jan 29 20:00:24 2012
@@ -109,47 +109,129 @@
         </plugin>
       </plugins>
     </pluginManagement>
-  </build>
-  
-<!-- 
-  
-  
-  ================================  
-  Reports for the site
-  -->
-  <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.8</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jxr-plugin</artifactId>
-        <version>2.3</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-report-plugin</artifactId>
-        <version>2.11</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <version>2.6</version>
-       <configuration>
-          <targetJdk>${target.jdk}</targetJdk>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+          <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+          <!-- reporting plugins are configured according to new mvn3 standard -->
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-checkstyle-plugin</artifactId>
+              <version>2.8</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>2.8</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.3</version>
+              <configuration>
+                <aggregate>true</aggregate>
+                <linkJavadoc>true</linkJavadoc>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-report-plugin</artifactId>
+              <version>2.11</version>
+            </plugin>
+            <plugin>
+              <artifactId>maven-pmd-plugin</artifactId>
+              <version>2.6</version>
+              <configuration>
+                <linkXRef>true</linkXRef>
+                <sourceEncoding>utf-8</sourceEncoding>
+                <minimumTokens>100</minimumTokens>
+                <targetJdk>${target.jdk}</targetJdk>
+                <excludes>
+                  <exclude>**/generated/**/*.java</exclude>
+                  <exclude>**/target/clover/**/*.java</exclude>
+                </excludes>
+              </configuration>
+            </plugin>
+            <!-- read changes.xml -->
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-changes-plugin</artifactId>
+              <version>2.6</version>
+              <reportSets>
+                <reportSet>
+                  <reports>
+                    <report>changes-report</report>
+                  </reports>
+                </reportSet>
+              </reportSets>
+            </plugin>
+            <!-- jdepend plugin -->
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>jdepend-maven-plugin</artifactId>
+              <version>2.0-beta-2</version>
+            </plugin>
+            <!-- cobertura plugin -->
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>cobertura-maven-plugin</artifactId>
+              <version>2.5.1</version>
+            </plugin>
+            <!-- catch code tags -->
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>taglist-maven-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <tags>
+                  <tag>TODO</tag>
+                  <tag>todo</tag>
+                  <tag>FIXME</tag>
+                  <tag>fixme</tag>
+                  <tag>REFACTOR</tag>
+                  <tag>refactor</tag>
+                  <tag>REVIEW</tag>
+                  <tag>review</tag>
+                  <tag>@todo</tag>
+                  <tag>@deprecated</tag>
+                </tags>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>findbugs-maven-plugin</artifactId>
+              <version>2.3.3</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-project-info-reports-plugin</artifactId>
+              <version>2.4</version>
+            </plugin>
+  
+          </reportPlugins>
         </configuration>
       </plugin>
+      <!-- instrumentalization for cobertura -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
         <version>2.5.1</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
-  </reporting> 
-
+  </build>
+  
   <!-- ================================ Project information -->
   
   <name>Apache Rat Whisker</name>
@@ -182,4 +264,4 @@
       <url>http://incubator.apache.org/rat/whisker</url>
     </site>
   </distributionManagement>
-</project>
\ No newline at end of file
+</project>