Thanks both. Is it possible to control the output (to direct the report
somewhere specific and also to only provide xml output).

Also, is it possible to have the checkstyle <reporting> entry inherit
downward (or does it have to be specifically included for each pom where
reporting is required) ?

Thx
Andy 

-----Original Message-----
From: Janhavi Phirke [mailto:[EMAIL PROTECTED] 
Sent: 19 June 2006 20:32
To: Maven Users List
Subject: Re: Checkstyle plugin Maven 2

In the following code, <configuration> tag is optional. If you want to
use your customized xml file, then u can specify it over there.
Otherwise, even if u don't specify that, it works fine. It takes the
default .xml file from checkstyle plugin from the local plugin
repository.

On 6/20/06, Stefan Kleineikenscheidt <[EMAIL PROTECTED]>
wrote:
>
>
> You set them in the pom.xml file.  Should like that
>
>
>   <reporting>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-checkstyle-plugin</artifactId>
>         <version>2.1</version>
>         <configuration>
>           <configLocation>
>             {$basedir}/src/main/config/checkstyle.xml
>           </configLocation>
>         </configuration>
>       </plugin>
>     </plugins>
>   <reporting>
>
>
> Hth,
> -Stefan
>
>
>
>
>
> ________________________________________
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 19, 2006 5:24 PM
> To: users@maven.apache.org
> Subject: Checkstyle plugin Maven 2
>
> Does anyone know how the maven 2 checkstyle.properties are set ?
> In maven 1.x they were provided in a file checkstyle.properties Tx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to