For some reason it will only generate xml reports and not html.  I am using
the default config file.  I thought I remembered using at one time a setting
in the pom <configuration> of the plugin to force html instead of xml.

thanks for all the help.



Mick Knutson-4 wrote:
> 
> 1.
> 
>     <reporting>
> ....
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-checkstyle-plugin</artifactId>
>                 <configuration>
>                     <configLocation>
> 
> C:/viewstore/esp_lynx_dap/esp/dap/utilities/common/build-tools/src/main/resources/sun_checks.xml
>                     </configLocation>
>                 </configuration>
>             </plugin>
> 
> This generates the checkstyle HTML during the site command.
> 
> 2. Not that I know of...
> 
> 
> 
> 
> On 7/13/07, Si_Simon <[EMAIL PROTECTED]> wrote:
>>
>>
>> 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]
>>
>>
> 
> 
> -- 
> ---
> Thanks,
> Mick Knutson
> 
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-checkstyle-plugin---how-to-get-this-working-tf4076713s177.html#a11588268
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to