scolebourne    2004/03/20 10:52:31

  Modified:    convert  project.xml project.properties
  Added:       convert  checkstyle.xml
  Log:
  Enable checkstyle and jcoverage
  
  Revision  Changes    Path
  1.9       +2 -6      jakarta-commons-sandbox/convert/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/convert/project.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- project.xml       25 Feb 2004 00:09:46 -0000      1.8
  +++ project.xml       20 Mar 2004 18:52:31 -0000      1.9
  @@ -43,18 +43,14 @@
     <reports>
        <report>maven-changelog-plugin</report>
        <report>maven-changes-plugin</report>
  -     <!--report>maven-checkstyle-plugin</report-->
  -     <!--report>maven-clover-plugin</report-->
  +     <report>maven-checkstyle-plugin</report>
  +     <report>maven-jcoverage-plugin</report>
        <report>maven-developer-activity-plugin</report>
        <report>maven-file-activity-plugin</report>
        <report>maven-javadoc-plugin</report>
  -     <!--report>maven-jellydoc-plugin</report-->
        <report>maven-junit-report-plugin</report>
        <report>maven-jxr-plugin</report>
        <report>maven-license-plugin</report>
  -     <!--report>maven-linkcheck-plugin</report-->
  -     <!--report>maven-statcvs-plugin</report-->
  -     <!--report>maven-tasklist-plugin</report-->
     </reports>
     
   </project>
  
  
  
  1.5       +2 -0      jakarta-commons-sandbox/convert/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/convert/project.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.properties        25 Feb 2004 00:09:46 -0000      1.4
  +++ project.properties        20 Mar 2004 18:52:31 -0000      1.5
  @@ -17,3 +17,5 @@
   maven.xdoc.poweredby.image=maven-feather.png
   maven.xdoc.version=${pom.currentVersion}
   maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html
  +
  +maven.checkstyle.properties=checkstyle.xml
  \ No newline at end of file
  
  
  
  1.1                  jakarta-commons-sandbox/convert/checkstyle.xml
  
  Index: checkstyle.xml
  ===================================================================
  <?xml version="1.0"?>
  <!--
     Copyright 2003-2004 The Apache Software Foundation
  
     Licensed 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 lang customization of default Checkstyle behavior -->
  <module name="Checker">
    <property name="basedir" value="."/>
    <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="WhitespaceAfter"/>
      <module name="WhitespaceAround"/>
      <module name="ModifierOrder"/>
      <module name="RedundantModifier"/>
      <module name="EmptyBlock"/>
      <module name="LeftCurly"/>
      <module name="NeedBraces"/>
      <module name="RightCurly"/>
      <module name="UpperEll"/>
      <module name="ArrayTypeStyle"/>
      <module name="Indentation"/>
      
      <module name="GenericIllegalRegexp">
        <property name="format" value="System\.out\.println"/>
      </module>
      <module name="GenericIllegalRegexp">
        <property name="format" value="System\.err\.println"/>
      </module>
      <module name="GenericIllegalRegexp">
        <property name="format" value="\.printStackTrace"/>
      </module>
      <module name="IllegalInstantiation">
        <property name="classes" value="java.lang.Boolean"/>
      </module>
      <module name="RedundantThrows">
        <property name="allowUnchecked" value="true"/>
      </module>
      <module name="LineLength">
        <property name="max" value="120"/>
      </module>
      <module name="JavadocVariable"/>
      <module name="JavadocMethod">
        <property name="allowUndeclaredRTE" value="true"/>
      </module>
   </module>
  </module>
                          
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to