commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1178168 - in /commons/proper/math/trunk: checkstyle.xml pom.xml
Date Sun, 02 Oct 2011 09:58:38 GMT
Author: luc
Date: Sun Oct  2 09:58:38 2011
New Revision: 1178168

URL: http://svn.apache.org/viewvc?rev=1178168&view=rev
Log:
Switched to checkstyle 5.x, so we can use package-info.java.

JIRA: MATH-445

Modified:
    commons/proper/math/trunk/checkstyle.xml
    commons/proper/math/trunk/pom.xml

Modified: commons/proper/math/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/checkstyle.xml?rev=1178168&r1=1178167&r2=1178168&view=diff
==============================================================================
--- commons/proper/math/trunk/checkstyle.xml (original)
+++ commons/proper/math/trunk/checkstyle.xml Sun Oct  2 09:58:38 2011
@@ -25,11 +25,6 @@
 
   <module name="TreeWalker">
    
-    <!-- Verify that EVERY source file has the appropriate license -->
-    <module name="Header">
-      <property name="headerFile" value="${checkstyle.header.file}"/>
-    </module>
-
     <!-- Operator must be at end of wrapped line -->
     <module name="OperatorWrap">
       <property name="option" value="eol"/>
@@ -54,9 +49,6 @@
     <!-- Require field javadoc -->
     <module name="JavadocVariable"/>
         
-    <!-- No tabs allowed! -->
-    <module name="TabCharacter"/>
-    
     <!-- No public fields -->
     <module name="VisibilityModifier">
        <property name="protectedAllowed" value="true"/>
@@ -143,12 +135,20 @@
     <!-- <module name="TodoComment" /> -->
 
   </module>
-  
+
+  <!-- Verify that EVERY source file has the appropriate license -->
+  <module name="Header">
+    <property name="headerFile" value="${checkstyle.header.file}"/>
+  </module>
+
+  <!-- No tabs allowed! -->
+  <module name="FileTabCharacter"/>
+
   <!-- Require files to end with newline characters -->
   <module name="NewlineAtEndOfFile"/>
   
   <!-- Require package javadoc -->
-  <module name="PackageHtml"/>
+  <module name="JavadocPackage"/>
 
   <!-- Setup special comments to suppress specific checks from source files -->
   <module name="SuppressionCommentFilter">

Modified: commons/proper/math/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=1178168&r1=1178167&r2=1178168&view=diff
==============================================================================
--- commons/proper/math/trunk/pom.xml (original)
+++ commons/proper/math/trunk/pom.xml Sun Oct  2 09:58:38 2011
@@ -368,11 +368,11 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>2.3</version>
+        <version>2.7</version>
         <configuration>
           <configLocation>${basedir}/checkstyle.xml</configLocation>
           <enableRulesSummary>false</enableRulesSummary>
-          <headerFile>${basedir}/license-header.txt</headerFile>
+          <headerLocation>${basedir}/license-header.txt</headerLocation>
         </configuration>
       </plugin>
       <plugin>



Mime
View raw message