HADOOP-13412. Move dev-support/checkstyle/suppressions.xml to hadoop-build-tools. Contributed by John Zhuge.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cd099a63 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cd099a63 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cd099a63 Branch: refs/heads/HADOOP-12756 Commit: cd099a63d58c6981c45db2b169430d4935e43bd1 Parents: 0e68e14 Author: Wei-Chiu Chuang <weic...@apache.org> Authored: Fri Sep 16 14:26:42 2016 -0700 Committer: Wei-Chiu Chuang <weic...@apache.org> Committed: Fri Sep 16 14:26:42 2016 -0700 ---------------------------------------------------------------------- dev-support/checkstyle/suppressions.xml | 21 -------------------- .../main/resources/checkstyle/suppressions.xml | 21 ++++++++++++++++++++ pom.xml | 2 +- 3 files changed, 22 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/cd099a63/dev-support/checkstyle/suppressions.xml ---------------------------------------------------------------------- diff --git a/dev-support/checkstyle/suppressions.xml b/dev-support/checkstyle/suppressions.xml deleted file mode 100644 index ccc89c8..0000000 --- a/dev-support/checkstyle/suppressions.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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/cd099a63/hadoop-build-tools/src/main/resources/checkstyle/suppressions.xml ---------------------------------------------------------------------- diff --git a/hadoop-build-tools/src/main/resources/checkstyle/suppressions.xml b/hadoop-build-tools/src/main/resources/checkstyle/suppressions.xml new file mode 100644 index 0000000..ccc89c8 --- /dev/null +++ b/hadoop-build-tools/src/main/resources/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/cd099a63/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index fb50419..250f5a1 100644 --- a/pom.xml +++ b/pom.xml @@ -318,7 +318,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> + <suppressionsLocation>checkstyle/suppressions.xml</suppressionsLocation> <includeTestSourceDirectory>true</includeTestSourceDirectory> <failOnViolation>false</failOnViolation> <format>xml</format> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org