Maven build fails with "Unable to find: suppressions.xml" error #2048 (thanks to jchobantonov)

pull/2053/head
Nikita Koksharov 6 years ago
parent 60f4c7bbcc
commit f65a9fd482

@ -230,7 +230,7 @@
</module> </module>
<module name="SuppressionFilter"> <module name="SuppressionFilter">
<property name="file" value="suppressions.xml"/> <property name="file" value="${checkstyle.config.path}/suppressions.xml"/>
<property name="optional" value="false"/> <property name="optional" value="false"/>
</module> </module>

@ -357,6 +357,7 @@
<consoleOutput>true</consoleOutput> <consoleOutput>true</consoleOutput>
<enableRSS>false</enableRSS> <enableRSS>false</enableRSS>
<configLocation>/checkstyle.xml</configLocation> <configLocation>/checkstyle.xml</configLocation>
<propertyExpansion>checkstyle.config.path=${basedir}</propertyExpansion>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress checks="FileLength"
files="JCache.java|RedissonMapCache.java"/>
<suppress checks="NestedTryDepth"
files="JCache.java"
lines="785-845"/>
</suppressions>
Loading…
Cancel
Save