commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsde...@apache.org
Subject cvs commit: jakarta-commons/httpclient checkstyle.properties license.regexp LICENSE.txt project.properties
Date Mon, 27 Jan 2003 15:28:27 GMT
jsdever     2003/01/27 07:28:26

  Modified:    httpclient LICENSE.txt project.properties
  Added:       httpclient checkstyle.properties license.regexp
  Log:
  Checkstyle configuration.
  
  Added a checkstyle.properties for controlling checkstyle
  Maven will now use the checkstyle.properties
  Added license.regexp to be "checkstyle nazi" on the license
  
  Contributed by: Jeff Dever
  
  Revision  Changes    Path
  1.4       +5 -3      jakarta-commons/httpclient/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/LICENSE.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LICENSE.txt	23 Jan 2003 22:47:39 -0000	1.3
  +++ LICENSE.txt	27 Jan 2003 15:28:26 -0000	1.4
  @@ -57,4 +57,6 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    *
  + * [Additional notices, if required by prior licensing conditions]
  + *
    */
  
  
  
  1.2       +4 -1      jakarta-commons/httpclient/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	3 Oct 2002 08:57:21 -0000	1.1
  +++ project.properties	27 Jan 2003 15:28:26 -0000	1.2
  @@ -1,3 +1,6 @@
   # Maven specific project properties
   maven.xdoc.date=left
  -maven.xdoc.version=${pom.currentVersion}
  \ No newline at end of file
  +maven.xdoc.version=${pom.currentVersion}
  +maven.checkstyle.properties=checkstyle.properties
  +maven.checkstyle.includes=**/*.java
  +maven.checkstyle.excludes=**/*.html
  
  
  
  1.1                  jakarta-commons/httpclient/checkstyle.properties
  
  Index: checkstyle.properties
  ===================================================================
  <!-- -------------------------------------------------- -->
  <!--       Configuration file for Checkstyle 2.4+       -->
  <!--     This excellent source code grammar checker     -->
  <!-- can be found at http://checkstyle.sourceforge.net/ -->
  <!-- -------------------------------------------------- -->
  
  <!-- Reporting configuration -->
  <!-- checkstyle.cache.file=checkstyle.cache -->
  
  <!-- JavaDoc checks -->
  checkstyle.javadoc.scope=private
  checkstyle.require.packagehtml=true
  checkstyle.require.version=false
  checkstyle.allow.noauthor=false
  checkstyle.javadoc.checkUnusedThrows=false
  
  <!-- Naming checks -->
  checkstyle.pattern.member=^[a-z][a-zA-Z0-9]*$
  checkstyle.pattern.publicmember=^f[A-Z][a-zA-Z0-9]*$
  checkstyle.pattern.const=^[A-Z](_?[A-Z0-9]+)*$
  checkstyle.pattern.static=^[a-z][a-zA-Z0-9]*$
  checkstyle.pattern.parameter=^[a-z][a-zA-Z0-9]*$
  checkstyle.pattern.package=^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$
  checkstyle.pattern.type=^[A-Z][a-zA-Z0-9]*$
  checkstyle.pattern.method=^[a-z][a-zA-Z0-9]*$
  checkstyle.pattern.localvar=^[a-z][a-zA-Z0-9]*$
  checkstyle.pattern.localfinalvar=^[a-z][a-zA-Z0-9]*$
  
  <!-- Header checks -->
  checkstyle.header.file=license.regexp
  checkstyle.header.ignoreline=
  checkstyle.header.regexp=true
  
  <!-- Imports checks -->
  checkstyle.ignore.imports=false
  checkstyle.illegal.imports=sun
  
  <!-- Size Violations checks -->
  checkstyle.maxlinelen=80
  checkstyle.tab.width=8
  checkstyle.ignore.importlength=false
  checkstyle.ignore.maxlinelen=Header:
  <!-- TODO: maxlinelen should be somthing more like
       "^ \* \$Header: /home/cvs/jakarta-commons/httpclient/checkstyle.properties,v 1.1 2003/01/27
15:28:26 jsdever Exp $$"
  -->
  checkstyle.maxmethodlen=150
  checkstyle.maxconstructorlen=150
  checkstyle.maxfilelen=2000
  checkstyle.maxparameters=7
  
  <!-- Whitespace checks -->
  checkstyle.allow.tabs=false
  checkstyle.ignore.whitespace=false
  checkstyle.ignore.whitespace.cast=false
  checkstyle.paren.pad=nospace
  checkstyle.wrap.operator=nl
  
  <!-- Violators checks -->
  checkstyle.ignore.public.in.interface=false
  checkstyle.allow.protected=false
  checkstyle.allow.package=false
  checkstyle.pattern.publicmember=^f[A-Z][a-zA-Z0-9]*$
  
  <!-- Blocks checks -->
  checkstyle.ignore.braces=false
  checkstyle.block.try=stmt
  checkstyle.block.catch=text
  checkstyle.block.finally=stmt
  checkstyle.lcurly.type=eol
  checkstyle.lcurly.method=eol
  checkstyle.lcurly.other=eol
  checkstyle.rcurly=same
  
  <!-- Miscellaneous checks -->
  checkstyle.pattern.todo=TODO:
  checkstyle.ignore.longell=false
  checkstyle.illegal.instantiations=java.lang.Boolean
  
  
  
  
  1.1                  jakarta-commons/httpclient/license.regexp
  
  Index: license.regexp
  ===================================================================
  /\*
   \* \$Header: /home/cvs/jakarta-commons/httpclient/license.regexp,v 1.1 2003/01/27 15:28:26
jsdever Exp $
   \* \$Revision: 1.1 $
   \* \$Date: 2003/01/27 15:28:26 $
   \*
   \* ====================================================================
   \*
   \* The Apache Software License, Version 1\.1
   \*
   \* Copyright \(c\) (2003|[0-9]{4}\-2003) The Apache Software Foundation\.  All rights
   \* reserved\.
   \*
   \* Redistribution and use in source and binary forms, with or without
   \* modification, are permitted provided that the following conditions
   \* are met:
   \*
   \* 1\. Redistributions of source code must retain the above copyright
   \*    notice, this list of conditions and the following disclaimer\.
   \*
   \* 2\. Redistributions in binary form must reproduce the above copyright
   \*    notice, this list of conditions and the following disclaimer in
   \*    the documentation and/or other materials provided with the
   \*    distribution\.
   \*
   \* 3\. The end-user documentation included with the redistribution, if
   \*    any, must include the following acknowlegement:
   \*       "This product includes software developed by the
   \*        Apache Software Foundation \(http://www\.apache\.org/\)\."
   \*    Alternately, this acknowlegement may appear in the software itself,
   \*    if and wherever such third-party acknowlegements normally appear\.
   \*
   \* 4\. The names "The Jakarta Project", "Commons", and "Apache Software
   \*    Foundation" must not be used to endorse or promote products derived
   \*    from this software without prior written permission\. For written
   \*    permission, please contact apache@apache\.org\.
   \*
   \* 5\. Products derived from this software may not be called "Apache"
   \*    nor may "Apache" appear in their names without prior written
   \*    permission of the Apache Group\.
   \*
   \* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   \* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   \* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   \* DISCLAIMED\.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   \* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   \* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES \(INCLUDING, BUT NOT
   \* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   \* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION\) HOWEVER CAUSED AND
   \* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   \* OR TORT \(INCLUDING NEGLIGENCE OR OTHERWISE\) ARISING IN ANY WAY OUT
   \* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   \* SUCH DAMAGE\.
   \* ====================================================================
   \*
   \* This software consists of voluntary contributions made by many
   \* individuals on behalf of the Apache Software Foundation\.  For more
   \* information on the Apache Software Foundation, please see
   \* <http://www\.apache\.org/>\.
   \*
   \* \[Additional notices, if required by prior licensing conditions\]
   \*
   \*/
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message