diff --git a/spring-boot-parent/pom.xml b/spring-boot-parent/pom.xml index 2e7d3df764..56b663d381 100644 --- a/spring-boot-parent/pom.xml +++ b/spring-boot-parent/pom.xml @@ -17,7 +17,7 @@ https://www.spring.io - .. + ${basedir}/.. false 1.6 1.0.2.v20150114 @@ -25,6 +25,7 @@ UTF-8 3.1.1 0.0.9 + 0.0.1.RELEASE https://github.com/spring-projects/spring-boot @@ -318,6 +319,11 @@ spring-javaformat-checkstyle ${spring-javaformat.version} + + io.spring.nohttp + nohttp-checkstyle + ${nohttp-checkstyle.version} + @@ -533,6 +539,8 @@ src/checkstyle/checkstyle.xml src/checkstyle/checkstyle-suppressions.xml true + main.basedir=${main.basedir} + **\/*.* check diff --git a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml index 94b7e7e62c..38fbb7d737 100644 --- a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml +++ b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml @@ -1,8 +1,10 @@ + "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" + "https://checkstyle.org/dtds/suppressions_1_2.dtd"> + + diff --git a/spring-boot-parent/src/checkstyle/checkstyle.xml b/spring-boot-parent/src/checkstyle/checkstyle.xml index 7eba2cff9e..9bc8ad31b5 100644 --- a/spring-boot-parent/src/checkstyle/checkstyle.xml +++ b/spring-boot-parent/src/checkstyle/checkstyle.xml @@ -1,6 +1,9 @@ + + + diff --git a/spring-boot-parent/src/checkstyle/nohttp-whitelist.txt b/spring-boot-parent/src/checkstyle/nohttp-whitelist.txt new file mode 100644 index 0000000000..79936fb7c7 --- /dev/null +++ b/spring-boot-parent/src/checkstyle/nohttp-whitelist.txt @@ -0,0 +1 @@ +^http://livereload.com/protocols/official-7$ diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml index 061c7a8c36..a771fbc9be 100644 --- a/spring-boot-samples/pom.xml +++ b/spring-boot-samples/pom.xml @@ -20,6 +20,7 @@ ${basedir}/.. 1.8 0.0.9 + 0.0.1.RELEASE false @@ -155,6 +156,11 @@ spring-javaformat-checkstyle ${spring-javaformat.version} + + io.spring.nohttp + nohttp-checkstyle + ${nohttp-checkstyle.version} + @@ -165,6 +171,8 @@ ../spring-boot-parent/src/checkstyle/checkstyle.xml ../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml true + main.basedir=${main.basedir} + **\/*.* check