Excluding checkstyle.xml from Checkstyle checking

Since 5bac61d9 (update to Checkstyle 2.13), fails on itself
as it includes '@author' in a module definition.


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/4609082b
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/4609082b
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/4609082b

Branch: refs/heads/fix-checkstyle
Commit: 4609082b5efd088af57a3fddfcef9848df8396b3
Parents: 9ca1a14
Author: Andrew Phillips <[email protected]>
Authored: Fri Oct 3 02:20:51 2014 -0500
Committer: Andrew Phillips <[email protected]>
Committed: Fri Oct 3 02:20:51 2014 -0500

----------------------------------------------------------------------
 project/pom.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/4609082b/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 6caa1ba..5290894 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -1106,6 +1106,8 @@
               <configLocation>resources/checkstyle.xml</configLocation>
               <failOnViolation>true</failOnViolation>
               <failsOnError>true</failsOnError>
+              <!-- fails on itself as it uses the author tag in a module 
definition -->
+              <resourceExcludes>checkstyle.xml</resourceExcludes>
               <violationSeverity>warning</violationSeverity>
             </configuration>
             <executions>

Reply via email to