This XML configuration file will work with the most recent Maven plugin for Checkstyle, just change the project.properties to point to this XML file.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140970 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tim O'Brien 2003-07-07 13:57:13 +00:00
parent faa703e40e
commit e449062da5
2 changed files with 24 additions and 1 deletions

23
checkstyle.xml Normal file
View File

@ -0,0 +1,23 @@
<?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 math 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>

View File

@ -2,7 +2,7 @@
# Properties that override Maven build defaults
##
maven.checkstyle.properties=${basedir}/checkstyle.properties
maven.checkstyle.properties=${basedir}/checkstyle.xml
maven.test.failure = false
maven.junit.fork=true
#maven.linkcheck.enable=true