From e54822d5130bc6adf2fd3372daf5dfe7a80b515d Mon Sep 17 00:00:00 2001 From: Andrei Selkin Date: Mon, 14 Dec 2015 21:25:16 +0300 Subject: [PATCH] Issue #2661: Add sevntu-checkstyle maven plugin into pom.xml --- config/checkstyle_sevntu_checks.xml | 10 ++++++ pom.xml | 47 +++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 config/checkstyle_sevntu_checks.xml diff --git a/config/checkstyle_sevntu_checks.xml b/config/checkstyle_sevntu_checks.xml new file mode 100644 index 000000000..f5443f22e --- /dev/null +++ b/config/checkstyle_sevntu_checks.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 155b60ea0..b4bc68440 100644 --- a/pom.xml +++ b/pom.xml @@ -195,9 +195,12 @@ 3.0.3 3.5 0.7.5.201505241946 + 2.17 + 1.17.1 1.7.0 ${java.home}/../lib/tools.jar 1.7 + 6.13 @@ -207,6 +210,11 @@ Codehaus Snapshots https://oss.sonatype.org/content/repositories/codehaus-snapshots/ + + sevntu-maven + sevntu-maven + http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2 + @@ -433,6 +441,45 @@ + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven.checkstyle.plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + com.github.sevntu.checkstyle + sevntu-checkstyle-maven-plugin + ${maven.sevntu.checkstyle.plugin.version} + + + + + ${project.basedir}/config/checkstyle_sevntu_checks.xml + true + false + false + true + 0 + error + + + + sevntu-checkstyle-check + verify + + check + + + + + org.apache.maven.plugins maven-clean-plugin