Skip to content

Commit 58b8a06

Browse files
committed
* 'master' of https://github.com/iluwatar/java-design-patterns: Define checkstyle suppression filter location in maven plugin configuration
2 parents 17b889c + befe509 commit 58b8a06

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎checkstyle.xml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,5 @@
168168
</module>
169169
<module name="SingleLineJavadoc"/>
170170
</module>
171-
172-
<module name="SuppressionFilter">
173-
<property name="file" value="${config_loc}/checkstyle-suppressions.xml" default="checkstyle-suppressions.xml"/>
174-
</module>
175-
171+
176172
</module>

‎pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
<phase>validate</phase>
256256
<configuration>
257257
<configLocation>checkstyle.xml</configLocation>
258+
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
258259
<encoding>UTF-8</encoding>
259260
<consoleOutput>true</consoleOutput>
260261
<failsOnError>true</failsOnError>

0 commit comments

Comments
 (0)