Skip to content

Commit db91b5f

Browse files
committed
Fix checkstyle config to use relative path for suppressions
- Changed from ${basedir}/etc/checkstyle/suppressions.xml to etc/checkstyle/suppressions.xml - Fixes checkstyle configuration parsing error where ${basedir} property was not resolved - Local validate phase now passes successfully
1 parent 17ab086 commit db91b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/checkstyle/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"https://checkstyle.org/dtds/configuration_1_3.dtd">
2222
<module name="com.puppycrawl.tools.checkstyle.Checker">
2323
<module name="SuppressionFilter">
24-
<property name="file" value="${basedir}/etc/checkstyle/suppressions.xml"/>
24+
<property name="file" value="etc/checkstyle/suppressions.xml"/>
2525
</module>
2626
<module name="io.spring.javaformat.checkstyle.SpringChecks">
2727
<property name="excludes" value="io.spring.javaformat.checkstyle.check.SpringAvoidStaticImportCheck"/>

0 commit comments

Comments
 (0)