You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by to...@apache.org on 2003/09/02 05:19:38 UTC

cvs commit: jakarta-commons/digester checkstyle.xml project.properties checkstyle.properties

tobrien     2003/09/01 20:19:38

  Modified:    digester project.properties
  Added:       digester checkstyle.xml
  Removed:     digester checkstyle.properties
  Log:
  Updated Maven build to point to Checkstyle rules in XML format.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-commons/digester/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	28 Feb 2003 08:23:30 -0000	1.3
  +++ project.properties	2 Sep 2003 03:19:38 -0000	1.4
  @@ -2,7 +2,7 @@
   # Properties that override Maven build defaults
   ##
   
  -maven.checkstyle.properties=${basedir}/checkstyle.properties 
  +maven.checkstyle.properties=${basedir}/checkstyle.xml
   maven.checkstyle.excludes=**/parser/*
   maven.test.failure = false
   maven.junit.fork=true
  
  
  
  1.1                  jakarta-commons/digester/checkstyle.xml
  
  Index: checkstyle.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!DOCTYPE module PUBLIC
      "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
      "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
  
  <!-- commons codec customization of default Checkstyle behavior -->
  <module name="Checker">
    <property name="basedir" value="src/checkstyle"/>
    <property name="localeLanguage" value="en"/>
  
    <module name="TreeWalker">
      <!-- Verify that EVERY source file has the appropriate license -->
      <module name="Header">
        <property name="headerFile" value="LICENSE.txt"/>
      </module>
  
      <module name="OperatorWrap">
        <property name="option" value="eol"/>
      </module>
    </module>
  </module>