Checkstyle: ignore resource files

This commit is contained in:
Arne Keller 2021-01-28 16:24:08 +01:00
parent 9f13bb7e42
commit 2bb2b98a36
2 changed files with 10 additions and 2 deletions

View File

@ -177,8 +177,7 @@
<version>3.1.1</version>
<configuration>
<configLocation>${project.build.directory}/../src/test/resources/checkstyle.xml</configLocation>
<excludes>src/main/resources</excludes>
<excludes>src/test/resources</excludes>
<suppressionsLocation>${project.build.directory}/../src/test/resources/checkstyle-suppressions.xml</suppressionsLocation>
<failOnViolation>true</failOnViolation>
<violationSeverity>warning</violationSeverity>
</configuration>

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files="src/main/resources/*" checks=".*" />
</suppressions>