[Jhs-leads] Excluding directories from checkstyle reports

Kirkpatrick, Ivan Ivan.Kirkpatrick@dep.state.fl.us
Mon, 9 May 2005 11:53:15 -0400


Good morning to all,

Adding these lines to the build.properties file will preclude the =
checkstyle
report from running against generated code.  I put the generated code =
into a
seperate directory sepcifically for this kind of reason.  The property =
uses
the ANT style of directory and file wildcards

# Exclude generated code from checkstyle
maven.checkstyle.excludes =3D **/generated/*.java

I found this information at
http://maven.apache.org/reference/plugins/checkstyle/properties.html