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.
I don't quite understand what you're asking. The default config files
are already in the plugin; you don't have to do anything. Do a 'mvn
site' and you'll get a checkstyle report.
If you /do/ want to change the configuration, you set the configLocation
property to point to the new config files. There are some other
properties that can be customized as well, such as propertiesFile and
suppressionsFile.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]