You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2008/04/02 06:45:46 UTC

svn commit: r643736 - in /commons/sandbox/functor/branches/no-generics: checkstyle.xml pom.xml

Author: mbenson
Date: Tue Apr  1 21:45:44 2008
New Revision: 643736

URL: http://svn.apache.org/viewvc?rev=643736&view=rev
Log:
checkstyle

Added:
    commons/sandbox/functor/branches/no-generics/checkstyle.xml   (with props)
Modified:
    commons/sandbox/functor/branches/no-generics/pom.xml

Added: commons/sandbox/functor/branches/no-generics/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/branches/no-generics/checkstyle.xml?rev=643736&view=auto
==============================================================================
--- commons/sandbox/functor/branches/no-generics/checkstyle.xml (added)
+++ commons/sandbox/functor/branches/no-generics/checkstyle.xml Tue Apr  1 21:45:44 2008
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
+
+<!-- commons functor customization of default Checkstyle behavior, copied from Lang -->
+<module name="Checker">
+  <property name="localeLanguage" value="en"/>
+  <module name="PackageHtml"/>
+  <module name="TreeWalker">
+    <module name="TabCharacter"/>
+    <module name="AvoidStarImport"/>
+    <module name="RedundantImport"/>
+    <module name="UnusedImports"/>
+    <module name="NeedBraces"/>
+    <module name="RedundantThrows">
+      <property name="allowUnchecked" value="true"/>
+    </module>
+    <module name="LineLength">
+      <property name="max" value="120"/>
+    </module>
+    <module name="JavadocMethod">
+      <property name="allowUndeclaredRTE" value="true"/>
+    </module>
+ </module>
+</module>

Propchange: commons/sandbox/functor/branches/no-generics/checkstyle.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: commons/sandbox/functor/branches/no-generics/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/branches/no-generics/pom.xml?rev=643736&r1=643735&r2=643736&view=diff
==============================================================================
--- commons/sandbox/functor/branches/no-generics/pom.xml (original)
+++ commons/sandbox/functor/branches/no-generics/pom.xml Tue Apr  1 21:45:44 2008
@@ -104,5 +104,19 @@
       </plugin>
     </plugins>
   </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <configLocation>${basedir}/checkstyle.xml</configLocation>
+          <excludes>**/parser/*</excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+ 
 </project>