File tree Expand file tree Collapse file tree 8 files changed +71
-9
lines changed Expand file tree Collapse file tree 8 files changed +71
-9
lines changed Original file line number Diff line number Diff line change 64
64
<artifactId >replacer</artifactId >
65
65
<version >1.5.3</version >
66
66
</plugin >
67
-
68
67
</plugins >
69
68
</pluginManagement >
70
69
</build >
Original file line number Diff line number Diff line change 539
539
<configLocation >src/checkstyle/checkstyle.xml</configLocation >
540
540
<suppressionsLocation >src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation >
541
541
<includeTestSourceDirectory >true</includeTestSourceDirectory >
542
+ </configuration >
543
+ <goals >
544
+ <goal >check</goal >
545
+ </goals >
546
+ </execution >
547
+ <execution >
548
+ <id >nohttp-checkstyle-validation</id >
549
+ <phase >validate</phase >
550
+ <configuration >
551
+ <skip >${disable.checks} </skip >
552
+ <configLocation >src/checkstyle/nohttp-checkstyle.xml</configLocation >
553
+ <suppressionsLocation >src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation >
554
+ <propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
555
+ <sourceDirectories >./</sourceDirectories >
556
+ <includes >**/*</includes >
557
+ <excludes >.git/**/*,target/**/*</excludes >
558
+ </configuration >
559
+ <goals >
560
+ <goal >check</goal >
561
+ </goals >
562
+ </execution >
563
+ </executions >
564
+ </plugin >
565
+ <plugin >
566
+ <groupId >org.apache.maven.plugins</groupId >
567
+ <artifactId >maven-checkstyle-plugin</artifactId >
568
+ <executions >
569
+ <execution >
570
+ <id >nohttp-checkstyle-validation</id >
571
+ <phase >validate</phase >
572
+ <configuration >
573
+ <skip >${disable.checks} </skip >
574
+ <configLocation >src/checkstyle/nohttp-checkstyle.xml</configLocation >
575
+ <suppressionsLocation >src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation >
542
576
<propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
543
577
<sourceDirectories >./</sourceDirectories >
544
578
<includes >**/*</includes >
Original file line number Diff line number Diff line change 3
3
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
4
4
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
5
5
<suppressions >
6
- <suppress files =" [\\/]transaction-logs[\\/]" checks =" .*" />
7
6
<suppress files =" [\\/]target[\\/]" checks =" .*" />
8
- <suppress files =" [\\/]build.log" checks =" .*" />
9
- <suppress files =" .+\.(jar|git|ico|p12)" checks =" .*" />
10
- <suppress files =" dependency-reduced-pom.xml" checks =" NoHttp" />
11
7
<suppress files =" SpringApplicationTests\.java" checks =" FinalClass" />
12
8
<suppress files =" .+Configuration\.java" checks =" HideUtilityClassConstructor" />
13
9
<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 >
7
4
<module name =" io.spring.javaformat.checkstyle.SpringChecks" />
8
5
<module name =" com.puppycrawl.tools.checkstyle.TreeWalker" >
9
6
<module name =" com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck" >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!DOCTYPE suppressions PUBLIC
3
+ "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
4
+ "https://checkstyle.org/dtds/suppressions_1_2.dtd">
5
+ <suppressions >
6
+ <suppress files =" [\\/]transaction-logs[\\/]" checks =" NoHttp" />
7
+ <suppress files =" [\\/]target[\\/]" checks =" NoHttp" />
8
+ <suppress files =" [\\/]build.log" checks =" NoHttp" />
9
+ <suppress files =" .+\.(jar|git|ico|p12|gif|jks|jpg)" checks =" NoHttp" />
10
+ <suppress files =" dependency-reduced-pom.xml" checks =" NoHttp" />
11
+ <suppress files =" jquery.validate.js" checks =" NoHttp" />
12
+ <suppress files =" jquery-[0-9]\.[0-9]\.[0-9].js" checks =" NoHttp" />
13
+ </suppressions >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "https://checkstyle.org/dtds/configuration_1_2.dtd">
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 >
7
+ </module >
Original file line number Diff line number Diff line change 1
- ^http://livereload.com/protocols/official-7 .*
1
+ ^http://docs.groovy-lang.org .*
2
2
^http://exslt.org/common.*
3
+ ^http://groovy-lang.org.*
4
+ ^http://hsqldb.org.*
5
+ ^http://livereload.com/.*
6
+ ^http://www.jdotsoft.com.*
Original file line number Diff line number Diff line change 171
171
<configLocation >../spring-boot-parent/src/checkstyle/checkstyle.xml</configLocation >
172
172
<suppressionsLocation >../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation >
173
173
<includeTestSourceDirectory >true</includeTestSourceDirectory >
174
+ </configuration >
175
+ <goals >
176
+ <goal >check</goal >
177
+ </goals >
178
+ </execution >
179
+ <execution >
180
+ <id >nohttp-checkstyle-validation</id >
181
+ <phase >validate</phase >
182
+ <configuration >
183
+ <skip >${disable.checks} </skip >
184
+ <configLocation >../spring-boot-parent/src/checkstyle/nohttp-checkstyle.xml</configLocation >
185
+ <suppressionsLocation >../spring-boot-parent/src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation >
174
186
<propertyExpansion >main.basedir=${main.basedir} </propertyExpansion >
175
187
<sourceDirectories >./</sourceDirectories >
176
188
<includes >**/*</includes >
You can’t perform that action at this time.
0 commit comments