You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ca...@apache.org on 2005/10/04 04:04:39 UTC
svn commit: r293490 - in
/maven/maven-1/plugins/trunk/checkstyle/src/plugin-test: checkstyle.xml
src/main/org/apache/maven/BreakTrailingSpaces.java
Author: carlos
Date: Mon Oct 3 19:04:37 2005
New Revision: 293490
URL: http://svn.apache.org/viewcvs?rev=293490&view=rev
Log:
Add more checks to test
Added:
maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java (with props)
Modified:
maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/checkstyle.xml
Modified: maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/checkstyle.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/checkstyle.xml?rev=293490&r1=293489&r2=293490&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/checkstyle.xml (original)
+++ maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/checkstyle.xml Mon Oct 3 19:04:37 2005
@@ -4,14 +4,40 @@
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<module name="Checker">
+
+ <module name="PackageHtml">
+ <property name="severity" value="info"/>
+ </module>
+
<property name="severity" value="error"/>
<module name="TreeWalker">
+ <module name="JavadocType">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="JavadocVariable">
+ <property name="scope" value="protected"/>
+ <property name="severity" value="info"/>
+ </module>
+
<module name="IllegalInstantiation">
<property name="classes" value="java.lang.Boolean"/>
</module>
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="This has to be the second message about trailing spaces."/>
+ </module>
+
+ <module name="LineLength">
+ <property name="max" value="60"/>
+ </module>
+
</module>
<module name="SuppressionFilter">
Added: maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java?rev=293490&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java (added)
+++ maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java Mon Oct 3 19:04:37 2005
@@ -0,0 +1,8 @@
+package org.apache.maven;
+
+public class BreakTrailingSpaces
+{
+ // Voluntarily adding trailing spaces
+
+ public String x;
+}
\ No newline at end of file
Propchange: maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/maven-1/plugins/trunk/checkstyle/src/plugin-test/src/main/org/apache/maven/BreakTrailingSpaces.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org