Consider the following hierarchy: |-- module1 | `-- pom.xml | |-- checkstyle-exclusions.xml |-- module2 | `-- pom.xml | |-- checkstyle-exclusions.xml |-- ... ` pom.xml ` checkstyle.xml
The goal is to have a centrally shared checkstyle.xml configuration, while allowing exclusions on a per-module basis. Here are the issues I'm struggling with: * In checkstyle plugin 2.6, it appears that the suppressionsLocation/suppressionsFileExpression don't work. I spent a significant amount of time trying all manner of settings for those, but the exclusions file was never found. * In lieu of that, I had to resort to using SuppressionFilter in the checkstyle.xml. The challenge with that is that it needs a relative path, and the path is different when running the parent POM vs. one of the module POMs Does anybody have a setup such as this running? Am I missing something here? Stefan Zier [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
