From ece903e7542aad29867eb9ffcc798d280d61f2d6 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sun, 18 Aug 2019 14:07:49 +0200 Subject: [PATCH] Add nohttp checks --- pom.xml | 24 +++++++++++++++++++ .../nohttp-checkstyle-suppressions.xml | 8 +++++++ src/checkstyle/nohttp-checkstyle.xml | 7 ++++++ 3 files changed, 39 insertions(+) create mode 100644 src/checkstyle/nohttp-checkstyle-suppressions.xml create mode 100644 src/checkstyle/nohttp-checkstyle.xml diff --git a/pom.xml b/pom.xml index 1e12dd10..6328076f 100644 --- a/pom.xml +++ b/pom.xml @@ -66,6 +66,7 @@ 0.0.15 + 0.0.3.RELEASE @@ -100,6 +101,11 @@ spring-javaformat-checkstyle ${spring-javaformat.version} + + io.spring.nohttp + nohttp-checkstyle + ${nohttp-checkstyle.version} + @@ -116,6 +122,24 @@ check + + nohttp-checkstyle-validation + validate + + ${disable.checks} + src/checkstyle/nohttp-checkstyle.xml + src/checkstyle/nohttp-checkstyle-suppressions.xml + main.basedir=${main.basedir} + UTF-8 + ${basedir} + **/* + **/.git/**/*,**/.idea/**/*,**/target/**/,**/.flattened-pom.xml,**/*.class + + + check + + false + diff --git a/src/checkstyle/nohttp-checkstyle-suppressions.xml b/src/checkstyle/nohttp-checkstyle-suppressions.xml new file mode 100644 index 00000000..1b40e8b3 --- /dev/null +++ b/src/checkstyle/nohttp-checkstyle-suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/src/checkstyle/nohttp-checkstyle.xml b/src/checkstyle/nohttp-checkstyle.xml new file mode 100644 index 00000000..e6205127 --- /dev/null +++ b/src/checkstyle/nohttp-checkstyle.xml @@ -0,0 +1,7 @@ + + + + +