[ http://jira.codehaus.org/browse/MPCHECKSTYLE-24?page=all ]

Lukas Theussl updated MPCHECKSTYLE-24:
--------------------------------------

    Fix Version: 3.0.1

> checktyle looks for headerFile in wrong directory when ran in multiproject 
> mode
> -------------------------------------------------------------------------------
>
>          Key: MPCHECKSTYLE-24
>          URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-24
>      Project: maven-checkstyle-plugin
>         Type: Bug

>     Versions: 2.4.1
>     Reporter: Jerome Lacoste
>      Fix For: 3.0.1

>
>
> Not sure if it is a plugin problem but it sounds like.
> I run a multiproject build.
> Inside one subdir (e.g. main), I have a checkstyle report configured. The 
> checkstyle plugin is configured as such in the main/project.properties:
> maven.checkstyle.properties=${basedir}/checkstyle.xml
> This checkstyle config contains:
>       <!-- Header -->
>         <module name="Header">
>             <property name="headerFile" value="cruisecontrol.header"/>
>             <property name="ignoreLines" value="3"/>
>         </module>
> Running maven in the main directory works great. Running it from the upper 
> level directory fails in the checkstyle plugin because the checkstyle ant 
> task doesn't find the header file.
> I workaround the problem by copying the main/cruisecontrol.header file in the 
> upper directory, from where the multiproject is built.
> I am not sure there is a solution to that problem. I am willing to spend some 
> time to fix it if I get some guidance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to