Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHECKSTYLE-24

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHECKSTYLE-24
    Summary: checktyle looks for headerFile in wrong directory when ran in 
multiproject mode
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-checkstyle-plugin
   Versions:
             2.4.1

   Assignee: 
   Reporter: Jerome Lacoste

    Created: Sun, 18 Jul 2004 9:23 PM
    Updated: Sun, 18 Jul 2004 9:23 PM

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to