>From the docs:
includeTestSourceDirectory Include or not the test source directory to
be used for Checkstyle
Type: boolean
Since: 2.2

And you're using version 2.1.

Wayne

On 1/31/08, Hoover, William <[EMAIL PROTECTED]> wrote:
> Thanks for the hint!
>
> I tried the following, but it still does not work. Any ideas why?
>
>        <reporting>
>                <plugins>
>                        <plugin>
>                                <groupId>org.apache.maven.plugins</groupId>
>                                
> <artifactId>maven-checkstyle-plugin</artifactId>
>                                <version>2.1</version>
>                                <configuration>
>                                        
> <configLocation>nemours-checkstyle.xml</configLocation>
>                                        
> <includeTestSourceDirectory>true</includeTestSourceDirectory>
>                                </configuration>
>                        </plugin>
>                </plugins>
>        </reporting>
>
> -----Original Message-----
> From: Nick Stolwijk [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 31, 2008 2:54 PM
> To: Maven Users List
> Subject: Re: [maven-checkstyle-plugin] Including test classes in report?
>
>
> I see you can only give one sourcedirectory, but you can add the
> parameter "includeTestSourceDirectory" [1].
>
> Hth,
>
> Nick Stolwijk
>
> [1]
> http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#includeTestSourceDirectory
>
> Hoover, William wrote:
> > Does anyone know a way to include test classes (src/test/java) in the 
> > checkstyle report? I am only recieving results for packaged classes 
> > (src/main/java)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to