Switched to checkstyle 5.x, so we can use package-info.java.

JIRA: MATH-445

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-10-02 09:58:38 +00:00
parent 121638c7c2
commit 2d0bacedae
2 changed files with 12 additions and 12 deletions

View File

@ -25,11 +25,6 @@
<module name="TreeWalker">
<!-- Verify that EVERY source file has the appropriate license -->
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}"/>
</module>
<!-- Operator must be at end of wrapped line -->
<module name="OperatorWrap">
<property name="option" value="eol"/>
@ -54,9 +49,6 @@
<!-- Require field javadoc -->
<module name="JavadocVariable"/>
<!-- No tabs allowed! -->
<module name="TabCharacter"/>
<!-- No public fields -->
<module name="VisibilityModifier">
<property name="protectedAllowed" value="true"/>
@ -143,12 +135,20 @@
<!-- <module name="TodoComment" /> -->
</module>
<!-- Verify that EVERY source file has the appropriate license -->
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}"/>
</module>
<!-- No tabs allowed! -->
<module name="FileTabCharacter"/>
<!-- Require files to end with newline characters -->
<module name="NewlineAtEndOfFile"/>
<!-- Require package javadoc -->
<module name="PackageHtml"/>
<module name="JavadocPackage"/>
<!-- Setup special comments to suppress specific checks from source files -->
<module name="SuppressionCommentFilter">

View File

@ -368,11 +368,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.3</version>
<version>2.7</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerFile>${basedir}/license-header.txt</headerFile>
<headerLocation>${basedir}/license-header.txt</headerLocation>
</configuration>
</plugin>
<plugin>