diff --git a/.travis.yml b/.travis.yml
index 3e0cf59d6..2eeabb479 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,4 +15,5 @@ script:
- jdk_switcher use openjdk7
- ./mvnw clean test -P bootstrap
- jdk_switcher use openjdk8
+ - ./mvnw -U clean checkstyle:check -P spring5
- ./mvnw -f spring-security-oauth2 -U clean test -P spring5
diff --git a/etc/nohttp/checkstyle.xml b/etc/nohttp/checkstyle.xml
new file mode 100644
index 000000000..4b2ef2e48
--- /dev/null
+++ b/etc/nohttp/checkstyle.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/etc/nohttp/whitelist.lines b/etc/nohttp/whitelist.lines
new file mode 100644
index 000000000..55860ea4f
--- /dev/null
+++ b/etc/nohttp/whitelist.lines
@@ -0,0 +1 @@
+http://junit.sourceforge.net/javadoc/
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 019c2f443..85ec0040d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -187,6 +187,41 @@
true
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.1.0
+
+
+ com.puppycrawl.tools
+ checkstyle
+ 8.18
+
+
+ io.spring.nohttp
+ nohttp-checkstyle
+ 0.0.3.RELEASE
+
+
+
+ ${maven.multiModuleProjectDirectory}/etc/nohttp/checkstyle.xml
+ src/**/*,*
+
+ ./
+
+
+
+
+
+ check
+
+
+
+
+
+
default
diff --git a/tests/annotation/pom.xml b/tests/annotation/pom.xml
index 976fad57d..ed61e724f 100644
--- a/tests/annotation/pom.xml
+++ b/tests/annotation/pom.xml
@@ -136,4 +136,44 @@
+
+
+ spring5
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.1.0
+
+
+ com.puppycrawl.tools
+ checkstyle
+ 8.18
+
+
+ io.spring.nohttp
+ nohttp-checkstyle
+ 0.0.3.RELEASE
+
+
+
+ ${maven.multiModuleProjectDirectory}/etc/nohttp/checkstyle.xml
+ src/**/*,*
+
+ ./
+
+
+
+
+
+ check
+
+
+
+
+
+
+
+
diff --git a/tests/xml/pom.xml b/tests/xml/pom.xml
index 4fc7f8b58..98d8076c4 100644
--- a/tests/xml/pom.xml
+++ b/tests/xml/pom.xml
@@ -85,4 +85,44 @@
+
+
+ spring5
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.1.0
+
+
+ com.puppycrawl.tools
+ checkstyle
+ 8.18
+
+
+ io.spring.nohttp
+ nohttp-checkstyle
+ 0.0.3.RELEASE
+
+
+
+ ${maven.multiModuleProjectDirectory}/etc/nohttp/checkstyle.xml
+ src/**/*,*
+
+ ./
+
+
+
+
+
+ check
+
+
+
+
+
+
+
+