Skip to content

Commit c5ddea5

Browse files
author
Timothy O'Brien
committed
Added an XML configuration for the checkstyle report
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130158 13f79535-47bb-0310-9956-ffa450edef68
1 parent e81fd5b commit c5ddea5

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

checkstyle.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
3+
<!DOCTYPE module PUBLIC
4+
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
5+
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
6+
7+
<!-- commons codec customization of default Checkstyle behavior -->
8+
<module name="Checker">
9+
<property name="basedir" value="src/checkstyle"/>
10+
<property name="localeLanguage" value="en"/>
11+
12+
<module name="TreeWalker">
13+
<!-- Verify that EVERY source file has the appropriate license -->
14+
<module name="Header">
15+
<property name="headerFile" value="LICENSE.txt"/>
16+
</module>
17+
18+
<module name="OperatorWrap">
19+
<property name="option" value="eol"/>
20+
</module>
21+
</module>
22+
</module>
23+

project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Properties that override Maven build defaults
33
##
44

5-
maven.checkstyle.properties=${basedir}/checkstyle.properties
5+
maven.checkstyle.properties=${basedir}/checkstyle.xml
66
maven.test.failure = false
77
maven.junit.fork=true
88
maven.linkcheck.enable=false

0 commit comments

Comments
 (0)