You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2015/08/17 04:56:46 UTC

[4/6] activemq-artemis git commit: Suppress unfixable checkstyle violations in JavaCC generated sources

Suppress unfixable checkstyle violations in JavaCC generated sources


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e46dd5f6
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e46dd5f6
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e46dd5f6

Branch: refs/heads/master
Commit: e46dd5f6f9252852ebc599b0a0dbaa83631b77df
Parents: 9be47ad
Author: Ville Skyttä <vi...@iki.fi>
Authored: Sun Aug 16 15:36:05 2015 +0300
Committer: Ville Skyttä <vi...@iki.fi>
Committed: Sun Aug 16 15:36:05 2015 +0300

----------------------------------------------------------------------
 etc/checkstyle-suppressions.xml | 32 ++++++++++++++++++++++++++++++++
 pom.xml                         |  1 +
 2 files changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e46dd5f6/etc/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/etc/checkstyle-suppressions.xml b/etc/checkstyle-suppressions.xml
new file mode 100644
index 0000000..9ff360a
--- /dev/null
+++ b/etc/checkstyle-suppressions.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!DOCTYPE suppressions PUBLIC
+        "-//Puppy Crawl//DTD Suppressions 1.1//EN"
+        "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<!-- http://checkstyle.sourceforge.net/config.html#SuppressionFilter -->
+<suppressions>
+
+   <!-- Suppress unfixable violations in JavaCC generated sources -->
+   <suppress checks="Indentation|Whitespace|Curly|Modifier|AvoidStarImport|EmptyStatement|ArrayTypeStyle|RegexpSingleline" files="[\\/]generated-sources[\\/]javacc[\\/]"/>
+
+</suppressions>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e46dd5f6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 57fd1d4..83f1856 100644
--- a/pom.xml
+++ b/pom.xml
@@ -924,6 +924,7 @@
             <configuration>
                <skip>${skipStyleCheck}</skip>
                <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation>
+               <suppressionsLocation>${activemq.basedir}/etc/checkstyle-suppressions.xml</suppressionsLocation>
                <failsOnError>false</failsOnError>
                <failOnViolation>true</failOnViolation>
                <consoleOutput>true</consoleOutput>