I got it working out of the box, now just need to tune some things. We have multiple maven modules each with it's own pom. A target/checkstyle-report.xml is created for each module.
Would you know what setting will dump out an html report instead? I did not see the option on the website anywhere. Also is it possible to have checkstyle dump out one report for all modules in one file? thanks for the help Si'mon Dennis Lundberg-2 wrote: > > Getting a sample Checkstyle configuration file from Checkstyle > themselves is a good way to start. I'll try to add an FAQ for the plugin > site: > "Where can I find a good configuration file for Checkstyle?" > > What kind of problems are your experiencing? Is the > maven-checkstyle-plugin not working? Does it find problems in your code? > > Please note that the currently released maven-checkstyle-plugin uses > Checkstyle 4.1. So if you try to use checks that were introduced in a > later version of Checkstyle - it will fail. > > Si_Simon wrote: >> So I configured my pom to use the checkstyle plugin. >> It is looking for the configuration files. Not wanting to create them >> from >> scratch, I then downloaded the .zip for checkstyle-4.3 that has these >> config >> files but when I point to them in the pom.xml there are many, many >> problems >> (variables not set) so am assuming I am going about this the wrong way. >> >> Is there a location that shows how to get going with maven checkstyle >> plugin? The page on the checkstyle plugin tells you what to put in the >> pom >> but not where to get the default config files that work with the plugin. >> confusing. >> >> si'mon > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Maven-checkstyle-plugin---how-to-get-this-working-tf4076713s177.html#a11587775 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
