...
Problem: The Checkstyle check fails with
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to read checkstyle-all.xml - unable to parse configuration stream - Property $
{checkstyle.suppressions.file} has not been setSolution: checkstyle.xml is referencing a suppression file with the placeholder ${checkstyle.suppressions.file}. As we do not currently support to replace placeholders with environment variables in our plug-in, you have to replace the environment variable with the path to the suppression file. Or if you still need the property because you replace the placeholder to the suppression file in your CI build (e.g. with Ant or Maven), you could use a default value:
Code Block language xml <module name="SuppressionFilter"> <property name="file" value="${checkstyle.suppressions.file}" default="path/to/suppressions.xml"/> </module>