mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Checkstyle: ignore resource files
This commit is contained in:
parent
9f13bb7e42
commit
2bb2b98a36
3
pom.xml
3
pom.xml
@ -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>
|
||||
|
9
src/test/resources/checkstyle-suppressions.xml
Normal file
9
src/test/resources/checkstyle-suppressions.xml
Normal 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>
|
||||
|
Loading…
Reference in New Issue
Block a user