You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/09/24 13:26:07 UTC

svn commit: r1000815 - /directory/shared/trunk/pom.xml

Author: seelmann
Date: Fri Sep 24 11:26:07 2010
New Revision: 1000815

URL: http://svn.apache.org/viewvc?rev=1000815&view=rev
Log:
o set reporting plugin versions explicitely
o use apache-rat-plugin and updated exclusions


Modified:
    directory/shared/trunk/pom.xml

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1000815&r1=1000814&r2=1000815&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Fri Sep 24 11:26:07 2010
@@ -265,40 +265,27 @@
   </dependencies>
 
   <reporting>
-    <excludeDefaults>true</excludeDefaults>
     <plugins>
       <!--
-        <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>changelog-maven-plugin</artifactId>
-        <reportSets>
-        <reportSet>
-        <id>dual-report</id>
-        <configuration>
-        <type>range</type>
-        <range>30</range>
-        </configuration>
-        <reports>
-        <report>changelog</report>
-        <report>file-activity</report>
-        <report>dev-activity</report>
-        </reports>
-        </reportSet>
-        </reportSets>
-        </plugin>
-      -->
+        Note to myself: 
+        Plugin configuration in pluginManagement section are *not* applied to reporting plugins!
+        See http://jira.codehaus.org/browse/MSITE-443
+       -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.5</version>
         <configuration>
           <aggregate>true</aggregate>
         </configuration>
       </plugin>
 
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
+        <version>2.2</version>
         <configuration>
-          <aggregate>true</aggregate>
+    	    <aggregate>true</aggregate>
         </configuration>
       </plugin>
  
@@ -324,6 +311,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>taglist-maven-plugin</artifactId>
+        <version>2.4</version>
         <configuration>
           <tags>
             <tag>TODO</tag>
@@ -337,6 +325,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.7</version>
         <configuration>
           <minmemory>512m</minmemory>
           <maxmemory>1g</maxmemory>
@@ -349,6 +338,7 @@
               <head>To do:</head>
             </tag>
           </tags>
+          <source>1.5</source>
         </configuration>
         <reportSets>
           <reportSet>
@@ -363,9 +353,11 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
+        <version>2.3.1</version>
         <configuration>
           <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
           <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
+          <!-- required by dashboard plugin -->
           <xmlOutput>true</xmlOutput>
           <effort>Max</effort>
         </configuration>
@@ -374,6 +366,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
+        <version>2.4</version>
         <configuration>
           <instrumentation>
             <excludes>
@@ -406,11 +399,13 @@
           </reportSet>
         </reportSets>
       </plugin>
+
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <version>1.0-alpha-3</version>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.7</version>
         <configuration>
+          <excludeSubProjects>false</excludeSubProjects>
           <excludes>
             <!-- MAVEN_DEFAULT_EXCLUDES -->
             <exclude>**/target/**/*</exclude>
@@ -427,21 +422,28 @@
             <exclude>**/MANIFEST.MF</exclude>
             <!-- Generated ldif files -->
             <exclude>ldap-schema/src/main/resources/schema/**</exclude>
+            <exclude>ldap-schema/src/main/resources/schema-all.ldif</exclude>
+            <exclude>src/main/resources/schema/**</exclude>
+            <exclude>src/main/resources/schema-all.ldif</exclude>
             <!-- Files having a Bouncy Castle license -->
             <exclude>ldap/src/main/java/org/apache/directory/shared/asn1/der/*.java</exclude>
+            <exclude>src/main/java/org/apache/directory/shared/asn1/der/*.java</exclude>
           </excludes>
         </configuration>
       </plugin>
+
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>javancss-maven-plugin</artifactId>
         <version>2.0</version>
       </plugin>
+
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>jdepend-maven-plugin</artifactId>
         <version>2.0-beta-2</version>
       </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
@@ -460,6 +462,7 @@
           </reportSet>
         </reportSets>
       </plugin>
+
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>dashboard-maven-plugin</artifactId>