You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2016/09/16 21:41:22 UTC

hadoop git commit: HADOOP-13160. Suppress checkstyle JavadocPackage check for test source. John Zhuge via stevel

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 1a2c77150 -> 523bc88a2


HADOOP-13160. Suppress checkstyle JavadocPackage check for test source. John Zhuge via stevel

(cherry picked from commit dcbb7009b6f94e655724f6a0320723e1279ebc79)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/523bc88a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/523bc88a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/523bc88a

Branch: refs/heads/branch-2
Commit: 523bc88a28c6789fd3f45a8ba093e38ad00c0c84
Parents: 1a2c771
Author: Steve Loughran <st...@apache.org>
Authored: Wed May 25 10:53:22 2016 +0100
Committer: Wei-Chiu Chuang <we...@apache.org>
Committed: Fri Sep 16 14:39:00 2016 -0700

----------------------------------------------------------------------
 dev-support/checkstyle/suppressions.xml | 21 +++++++++++++++++++++
 pom.xml                                 |  1 +
 2 files changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/523bc88a/dev-support/checkstyle/suppressions.xml
----------------------------------------------------------------------
diff --git a/dev-support/checkstyle/suppressions.xml b/dev-support/checkstyle/suppressions.xml
new file mode 100644
index 0000000..ccc89c8
--- /dev/null
+++ b/dev-support/checkstyle/suppressions.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+  Licensed 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. See accompanying LICENSE file.
+-->
+<!DOCTYPE suppressions PUBLIC
+"-//Puppy Crawl//DTD Suppressions 1.1//EN"
+"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<suppressions>
+  <suppress checks="JavadocPackage" files="[\\/]src[\\/]test[\\/].*"/>
+</suppressions>

http://git-wip-us.apache.org/repos/asf/hadoop/blob/523bc88a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 683d9f3..0c8f28e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -210,6 +210,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
           </dependencies>
           <configuration>
             <configLocation>checkstyle/checkstyle.xml</configLocation>
+            <suppressionsLocation>dev-support/checkstyle/suppressions.xml</suppressionsLocation>
             <includeTestSourceDirectory>true</includeTestSourceDirectory>
             <failOnViolation>false</failOnViolation>
             <format>xml</format>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org