Get 'mvn clean site' to work.
[commons-testing.git] / checkstyle.xml
1 <?xml version="1.0"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18
19 <!DOCTYPE module PUBLIC
20 "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
21 "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
22
23 <!-- commons lang customization of default Checkstyle behavior -->
24 <module name="Checker">
25 <property name="localeLanguage" value="en"/>
26 <module name="JavadocPackage"/>
27 <module name="NewlineAtEndOfFile">
28 <property name="lineSeparator" value="lf" />
29 </module>
30 <module name="FileTabCharacter">
31 <property name="fileExtensions" value="java,xml"/>
32 </module>
33 <module name="RegexpSingleline">
34 <!-- \s matches whitespace character, $ matches end of line. -->
35 <property name="format" value="\s+$"/>
36 <property name="message" value="Line has trailing spaces."/>
37 </module>
38 <module name="SuppressionFilter">
39 <property name="file" value="checkstyle-suppressions.xml"/>
40 </module>
41 <module name="TreeWalker">
42 <property name="cacheFile" value="target/cachefile"/>
43 <module name="AvoidStarImport"/>
44 <module name="IllegalImport"/>
45 <module name="RedundantImport"/>
46 <module name="UnusedImports"/>
47 <module name="NeedBraces"/>
48 <module name="JavadocMethod">
49 <property name="allowUndeclaredRTE" value="true"/>
50 <property name="scope" value="public" />
51 </module>
52 <module name="ModifierOrder"/>
53 <module name="RedundantModifier"/>
54 <module name="UpperEll" />
55 <module name="LeftCurly"/>
56 <module name="NeedBraces"/>
57 <module name="RightCurly"/>
58 </module>
59 </module>