You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2010/05/30 13:55:03 UTC

svn commit: r949504 - in /directory: apacheds/trunk-with-dependencies/ apacheds/trunk-with-dependencies/pom.xml apacheds/trunk/pom.xml clients/ldap/trunk/pom.xml daemon/trunk/pom.xml installers/trunk/pom.xml shared/trunk/pom.xml

Author: felixk
Date: Sun May 30 11:55:03 2010
New Revision: 949504

URL: http://svn.apache.org/viewvc?rev=949504&view=rev
Log:
Add custom checkstyle configuration

Modified:
    directory/apacheds/trunk-with-dependencies/   (props changed)
    directory/apacheds/trunk-with-dependencies/pom.xml
    directory/apacheds/trunk/pom.xml
    directory/clients/ldap/trunk/pom.xml
    directory/daemon/trunk/pom.xml
    directory/installers/trunk/pom.xml
    directory/shared/trunk/pom.xml

Propchange: directory/apacheds/trunk-with-dependencies/
------------------------------------------------------------------------------
--- svn:externals (original)
+++ svn:externals Sun May 30 11:55:03 2010
@@ -5,3 +5,4 @@ project https://svn.apache.org/repos/asf
 installers https://svn.apache.org/repos/asf/directory/installers/trunk
 ldap-client https://svn.apache.org/repos/asf/directory/clients/ldap/trunk
 kerberos-client https://svn.apache.org/repos/asf/directory/clients/kerberos/trunk
+directory-checkstyle https://svn.apache.org/repos/asf/directory/buildtools/trunk/checkstyle

Modified: directory/apacheds/trunk-with-dependencies/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk-with-dependencies/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/apacheds/trunk-with-dependencies/pom.xml (original)
+++ directory/apacheds/trunk-with-dependencies/pom.xml Sun May 30 11:55:03 2010
@@ -16,7 +16,9 @@
     limitations under the License.
 -->
 <!-- $Rev:  $ $Date:  $ -->
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.directory.server</groupId>
   <version>1.5.8-SNAPSHOT</version>
@@ -27,6 +29,7 @@
 
   <modules>
     <module>project</module>
+    <module>directory-checkstyle</module>
     <module>shared</module>
     <module>daemon</module>
     <module>ldap-client</module>

Modified: directory/apacheds/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/apacheds/trunk/pom.xml (original)
+++ directory/apacheds/trunk/pom.xml Sun May 30 11:55:03 2010
@@ -42,6 +42,7 @@
     <org.apache.directory.shared.version>0.9.20-SNAPSHOT</org.apache.directory.shared.version>
     <org.apache.directory.ldap.client.api.version>0.2-SNAPSHOT</org.apache.directory.ldap.client.api.version>
     <org.apache.directory.daemon.version>1.1.9-SNAPSHOT</org.apache.directory.daemon.version>
+    <org.apache.directory.buildtools.directory-checkstyle.version>0.1-SNAPSHOT</org.apache.directory.buildtools.directory-checkstyle.version>
     <skin.version>1.0.1</skin.version>
     
     <!-- Set versions for depending jars -->
@@ -540,6 +541,22 @@
     <module>ldap-client-test</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.directory.buildtools</groupId>
+            <artifactId>directory-checkstyle</artifactId>
+            <version>${org.apache.directory.buildtools.directory-checkstyle.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    </plugins>
+  </build>
+
   <reporting>
     <excludeDefaults>true</excludeDefaults>
     <plugins>
@@ -649,6 +666,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
+          <configLocation>directory-checks.xml</configLocation>
           <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
         </configuration>
       </plugin>

Modified: directory/clients/ldap/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/clients/ldap/trunk/pom.xml (original)
+++ directory/clients/ldap/trunk/pom.xml Sun May 30 11:55:03 2010
@@ -41,6 +41,7 @@
     <!-- Set versions for depending projects -->
     <org.apache.directory.shared.version>0.9.20-SNAPSHOT</org.apache.directory.shared.version>
     <org.apache.directory.server.version>1.5.8-SNAPSHOT</org.apache.directory.server.version>
+    <org.apache.directory.buildtools.directory-checkstyle.version>0.1-SNAPSHOT</org.apache.directory.buildtools.directory-checkstyle.version>
     <skin.version>1.0.1</skin.version>
     
     <!-- Set version for other jars -->
@@ -161,6 +162,17 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.directory.buildtools</groupId>
+            <artifactId>directory-checkstyle</artifactId>
+            <version>${org.apache.directory.buildtools.directory-checkstyle.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
     </plugins>
   </build>
   
@@ -222,12 +234,25 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
+        <configuration>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+          <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
+        </configuration>
       </plugin>
 
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <configLocation>directory-checks.xml</configLocation>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>
 </project>

Modified: directory/daemon/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/daemon/trunk/pom.xml (original)
+++ directory/daemon/trunk/pom.xml Sun May 30 11:55:03 2010
@@ -49,10 +49,27 @@
     <module>plugin</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.directory.buildtools</groupId>
+            <artifactId>directory-checkstyle</artifactId>
+            <version>${org.apache.directory.buildtools.directory-checkstyle.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    </plugins>
+  </build>
+
   <properties>
     <projectName>Apache Directory Daemon</projectName>
 
     <!-- Set versions for depending projects -->
+    <org.apache.directory.buildtools.directory-checkstyle.version>0.1-SNAPSHOT</org.apache.directory.buildtools.directory-checkstyle.version>
     <distMgmtSiteUrl>scpexe://people.apache.org/www/directory.apache.org/daemon/gen-docs/${version}/</distMgmtSiteUrl>
     <skin.version>1.0.1</skin.version>
     
@@ -206,6 +223,10 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
+        <configuration>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+          <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
+        </configuration>
       </plugin>
 
       <plugin>
@@ -216,6 +237,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <configLocation>directory-checks.xml</configLocation>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+        </configuration>
       </plugin>
     </plugins>
   </reporting>

Modified: directory/installers/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/installers/trunk/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/installers/trunk/pom.xml (original)
+++ directory/installers/trunk/pom.xml Sun May 30 11:55:03 2010
@@ -44,6 +44,7 @@
     <daemon.version>1.1.9-SNAPSHOT</daemon.version>
     <daemon.bootstrappers.version>1.1.9-SNAPSHOT</daemon.bootstrappers.version>
     <server.version>1.5.8-SNAPSHOT</server.version>
+    <org.apache.directory.buildtools.directory-checkstyle.version>0.1-SNAPSHOT</org.apache.directory.buildtools.directory-checkstyle.version>
 
     <!-- Set versions for depending jars -->
     <antlr.version>2.7.7</antlr.version>
@@ -548,6 +549,22 @@
     <module>apacheds-noarch</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.directory.buildtools</groupId>
+            <artifactId>directory-checkstyle</artifactId>
+            <version>${org.apache.directory.buildtools.directory-checkstyle.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    </plugins>
+  </build>
+
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/directory/installers/trunk</connection>
     <url>http://svn.apache.org/repos/asf/directory/installers/trunk</url>
@@ -612,6 +629,10 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
+        <configuration>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+          <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
+        </configuration>
       </plugin>
 
       <plugin>
@@ -622,6 +643,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <configLocation>directory-checks.xml</configLocation>
+          <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+        </configuration>
       </plugin>
     </plugins>
   </reporting>

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=949504&r1=949503&r2=949504&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Sun May 30 11:55:03 2010
@@ -36,6 +36,7 @@
     <distMgmtSiteUrl>scpexe://people.apache.org/www/directory.apache.org/shared/gen-docs/${version}/</distMgmtSiteUrl>
     <skin.version>1.0.1</skin.version>
     <org.apache.directory.shared.version>0.9.20-SNAPSHOT</org.apache.directory.shared.version>
+    <org.apache.directory.buildtools.directory-checkstyle.version>0.1-SNAPSHOT</org.apache.directory.buildtools.directory-checkstyle.version>
     
     <!-- Jar's version -->
     <antlr.version>2.7.7</antlr.version>
@@ -83,6 +84,22 @@
     <module>dsml-parser</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.directory.buildtools</groupId>
+            <artifactId>directory-checkstyle</artifactId>
+            <version>${org.apache.directory.buildtools.directory-checkstyle.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -294,6 +311,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
+          <configLocation>directory-checks.xml</configLocation>
           <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
         </configuration>
       </plugin>