You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by vr...@apache.org on 2015/11/09 17:34:08 UTC
[6/9] incubator-apex-core git commit: APEX-250 #resolve #comment
added checkstyle suppressions file to exclude DTCli from System.out and
System.err checks
APEX-250 #resolve #comment added checkstyle suppressions file to exclude DTCli from System.out and System.err checks
Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/82fd8c36
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/82fd8c36
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/82fd8c36
Branch: refs/heads/feature-module
Commit: 82fd8c36db74981e8a57f3c362a8912466755706
Parents: f35522b
Author: Chandni Singh <cs...@apache.org>
Authored: Fri Nov 6 00:28:30 2015 -0800
Committer: Chandni Singh <cs...@apache.org>
Committed: Fri Nov 6 00:36:01 2015 -0800
----------------------------------------------------------------------
checkstyle-suppressions.xml | 28 ++++++++++++++++++++++++++++
engine/pom.xml | 2 +-
pom.xml | 2 ++
3 files changed, 31 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/82fd8c36/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
new file mode 100644
index 0000000..7496011
--- /dev/null
+++ b/checkstyle-suppressions.xml
@@ -0,0 +1,28 @@
+<?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.0//EN"
+ "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
+
+<suppressions>
+ <suppress checks="RegexpMultiline" files="DTCli.java"/>
+</suppressions>
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/82fd8c36/engine/pom.xml
----------------------------------------------------------------------
diff --git a/engine/pom.xml b/engine/pom.xml
index 1513728..791016d 100644
--- a/engine/pom.xml
+++ b/engine/pom.xml
@@ -145,7 +145,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
- <maxAllowedViolations>2072</maxAllowedViolations>
+ <maxAllowedViolations>2020</maxAllowedViolations>
</configuration>
</plugin>
</plugins>
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/82fd8c36/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ff917ff..89abc04 100644
--- a/pom.xml
+++ b/pom.xml
@@ -323,6 +323,8 @@
</executions>
<configuration>
<configLocation>apex_checks.xml</configLocation>
+ <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
</configuration>
</plugin>
<plugin>