You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/02/12 19:27:47 UTC
[jira] Closed: (MPCHECKSTYLE-24) checktyle looks for headerFile in
wrong directory when ran in multiproject mode
[ http://jira.codehaus.org/browse/MPCHECKSTYLE-24?page=all ]
Lukas Theussl closed MPCHECKSTYLE-24:
-------------------------------------
Resolution: Won't Fix
Fix Version: (was: 3.0.1)
The original problem should be fixed by putting <property name="headerFile" value="${basedir}/cruisecontrol.header"/> into the checkstyle config file. I will open a separate issue for the problem above.
> 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
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org