File tree 5 files changed +25
-3
lines changed
5 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 17
17
<url >https://www.spring.io</url >
18
18
</organization >
19
19
<properties >
20
- <main .basedir>..</main .basedir>
20
+ <main .basedir>${basedir} / ..</main .basedir>
21
21
<disable .checks>false</disable .checks>
22
22
<java .version>1.6</java .version>
23
23
<aether .version>1.0.2.v20150114</aether .version>
24
24
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
25
25
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
26
26
<maven .version>3.1.1</maven .version>
27
27
<spring-javaformat .version>0.0.9</spring-javaformat .version>
28
+ <nohttp-checkstyle .version>0.0.1.RELEASE</nohttp-checkstyle .version>
28
29
</properties >
29
30
<scm >
30
31
<url >https://github.com/spring-projects/spring-boot</url >
318
319
<artifactId >spring-javaformat-checkstyle</artifactId >
319
320
<version >${spring-javaformat.version} </version >
320
321
</dependency >
322
+ <dependency >
323
+ <groupId >io.spring.nohttp</groupId >
324
+ <artifactId >nohttp-checkstyle</artifactId >
325
+ <version >${nohttp-checkstyle.version} </version >
326
+ </dependency >
321
327
</dependencies >
322
328
</plugin >
323
329
<plugin >
533
539
<configLocation >src/checkstyle/checkstyle.xml</configLocation >
534
540
<suppressionsLocation >src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation >
535
541
<includeTestSourceDirectory >true</includeTestSourceDirectory >
542
+ <propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
543
+ <resourceIncludes >**\/*.*</resourceIncludes >
536
544
</configuration >
537
545
<goals >
538
546
<goal >check</goal >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<!DOCTYPE suppressions PUBLIC
3
- "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
4
- "https://checkstyle.org/dtds/suppressions_1_2.dtd">
3
+ "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
4
+ "https://checkstyle.org/dtds/suppressions_1_2.dtd">
5
5
<suppressions >
6
+ <suppress files =" [\\/]target[\\/]" checks =" .*" />
7
+ <suppress files =" .+\.[jar|git|ico|p12]" checks =" .*" />
6
8
<suppress files =" SpringApplicationTests\.java" checks =" FinalClass" />
7
9
<suppress files =" .+Configuration\.java" checks =" HideUtilityClassConstructor" />
8
10
<suppress files =" .+Application\.java" checks =" HideUtilityClassConstructor" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "https://checkstyle.org/dtds/configuration_1_2.dtd">
3
3
<module name =" com.puppycrawl.tools.checkstyle.Checker" >
4
+ <module name =" io.spring.nohttp.checkstyle.check.NoHttpCheck" >
5
+ <property name =" whitelistFileName" value =" ${main.basedir}/spring-boot-parent/src/checkstyle/nohttp-whitelist.txt" />
6
+ </module >
4
7
<module name =" io.spring.javaformat.checkstyle.SpringChecks" />
5
8
<module name =" com.puppycrawl.tools.checkstyle.TreeWalker" >
6
9
<module name =" com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck" >
Original file line number Diff line number Diff line change
1
+ ^http://livereload.com/protocols/official-7$
Original file line number Diff line number Diff line change 20
20
<main .basedir>${basedir} /..</main .basedir>
21
21
<java .version>1.8</java .version>
22
22
<spring-javaformat .version>0.0.9</spring-javaformat .version>
23
+ <nohttp-checkstyle .version>0.0.1.RELEASE</nohttp-checkstyle .version>
23
24
<disable .checks>false</disable .checks>
24
25
</properties >
25
26
<modules >
155
156
<artifactId >spring-javaformat-checkstyle</artifactId >
156
157
<version >${spring-javaformat.version} </version >
157
158
</dependency >
159
+ <dependency >
160
+ <groupId >io.spring.nohttp</groupId >
161
+ <artifactId >nohttp-checkstyle</artifactId >
162
+ <version >${nohttp-checkstyle.version} </version >
163
+ </dependency >
158
164
</dependencies >
159
165
<executions >
160
166
<execution >
165
171
<configLocation >../spring-boot-parent/src/checkstyle/checkstyle.xml</configLocation >
166
172
<suppressionsLocation >../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation >
167
173
<includeTestSourceDirectory >true</includeTestSourceDirectory >
174
+ <propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
175
+ <resourceIncludes >**\/*.*</resourceIncludes >
168
176
</configuration >
169
177
<goals >
170
178
<goal >check</goal >
You can’t perform that action at this time.
0 commit comments