HADOOP-15252. Checkstyle version is not compatible with IDEA's checkstyle plugin
Signed-off-by: Akira Ajisaka <aajis...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/90d2bdcb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/90d2bdcb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/90d2bdcb Branch: refs/heads/HDFS-7240 Commit: 90d2bdcb752f5f32ef65765af6fd5596dd5d373b Parents: c75105f Author: Andras Bokor <bok...@freemail.hu> Authored: Fri Mar 2 17:08:17 2018 -0800 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Fri Mar 2 17:08:55 2018 -0800 ---------------------------------------------------------------------- hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml | 5 ++--- pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/90d2bdcb/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml ---------------------------------------------------------------------- diff --git a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml index 2053561..f4e4f42 100644 --- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml +++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml @@ -50,8 +50,6 @@ <module name="Checker"> <module name="SuppressWarningsFilter"/> - <module name="SuppressionCommentFilter"/> - <module name="SuppressWithNearbyCommentFilter"/> <!-- Checks that a package.html file exists for each package. --> <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml --> @@ -72,7 +70,8 @@ <module name="TreeWalker"> <module name="SuppressWarningsHolder"/> - <module name="FileContentsHolder"/> + <module name="SuppressionCommentFilter"/> + <module name="SuppressWithNearbyCommentFilter"/> <!-- Checks for Javadoc comments. --> http://git-wip-us.apache.org/repos/asf/hadoop/blob/90d2bdcb/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a51c42a..6cb2d4d 100644 --- a/pom.xml +++ b/pom.xml @@ -107,8 +107,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs <maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version> <maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version> <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> - <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> - <checkstyle.version>7.5.1</checkstyle.version> + <maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version> + <checkstyle.version>8.8</checkstyle.version> <dependency-check-maven.version>1.4.3</dependency-check-maven.version> <shell-executable>bash</shell-executable> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org