You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2004/05/01 11:06:04 UTC
cvs commit: maven-plugins checkstyle.xml project.properties checkstyle-license.txt
vmassol 2004/05/01 02:06:04
Modified: . checkstyle.xml project.properties
checkstyle-license.txt
Log:
- Ensure plugins are using the correct checkstyle.xml file
- Ignore lines 1 and 4 from the checkstyle header file
Revision Changes Path
1.3 +1 -1 maven-plugins/checkstyle.xml
Index: checkstyle.xml
===================================================================
RCS file: /home/cvs/maven-plugins/checkstyle.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- checkstyle.xml 4 Mar 2004 18:40:25 -0000 1.2
+++ checkstyle.xml 1 May 2004 09:06:04 -0000 1.3
@@ -48,7 +48,7 @@
<!-- ************************************************************** -->
<module name="Header">
<property name="headerFile" value="${maven.checkstyle.header.file}"/>
- <property name="ignoreLines" value="1,2,3,4,5,6"/>
+ <property name="ignoreLines" value="1, 4"/>
</module>
<property name="tabWidth" value="4"/>
<module name="LeftCurly">
1.8 +1 -0 maven-plugins/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/maven-plugins/project.properties,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- project.properties 1 May 2004 08:37:33 -0000 1.7
+++ project.properties 1 May 2004 09:06:04 -0000 1.8
@@ -34,6 +34,7 @@
# Checkstyle plugin settings
maven.checkstyle.header.file = ${basedir}/../checkstyle-license.txt
+maven.checkstyle.properties = ${basedir}/../checkstyle.xml
# License plugin settings
maven.license.licenseFile=${basedir}/../LICENSE.txt
1.2 +2 -2 maven-plugins/checkstyle-license.txt
Index: checkstyle-license.txt
===================================================================
RCS file: /home/cvs/maven-plugins/checkstyle-license.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- checkstyle-license.txt 2 Mar 2004 05:45:24 -0000 1.1
+++ checkstyle-license.txt 1 May 2004 09:06:04 -0000 1.2
@@ -1,7 +1,7 @@
-
+[This line is ignored by checkstyle. Put the package declaration here]
/* ====================================================================
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright [year. ex: 2001-2004] The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org