[ACCEPTED]-Disable all checkstyle checks for a specific java package-checkstyle
Accepted answer
Just use the suppression:
<suppress checks="." files="com[\\/]mydomain[\\/]abc[\\/]xyz[\\/]jaxws[\\/]managed[\\/]"/>
Alternatively, I 5 would recommend only passing the files you 4 want checked to Checkstyle. For example, if 3 you are using ANT, use a to specify the 2 files to process, and use to specify files 1 to ignore.
For example:
<fileset dir="src">
<include name="**/*.java"/>
<exclude name="com/mycompany/abc/service/jaxws/service/*.java"/>
</fileset>
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.