Hi All. I have an issue running Maven under Hudson, when in conjunction with ClearCase.
Hudson is correctly creating a workspace and creating a snapshot view of the UCM Project. As an artifact of using ClearCase, there will always be a reference to the VOB in the pathname, under the workspace. Under Hudson, when it creates a workspace, you will normally check your code out directly into it - as the root. CVS and SVN handle this easily. However, under ClearCase, the viewname, vob and any other directories will be created underneath it. Ie: ...\workspace\hudson_view\TOOLS_VOB\TOOL_Folder\Tools\pom.xml The issue here is that Hudson wants to run everything with the workspace as the root directory. But due to ClearCase I need to use the -f hudson_view\...\...\Tools\pom.xml This results in the following error: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An error has occurred in Checkstyle report generation. Embedded error: Unable to find configuration file location. Unable to find location 'src/main/config/CheckStyle_4_4.xml' as URL, File or Resource. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ However, if I manually change to the Tools directory and run maven from there it works perfectly. So, is there a problem with the maven checkstyle plugin that it is not resolving paths correctly with the -f switch or am I doing something else incorrectly? TIA. -Chris ********************************************************************** CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended recipient of this message you must: - Not use, copy, distribute or disclose it to anyone other than the addressee; - Notify the sender via return email; and - Delete the message (and any related attachments) from your computer immediately. Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent. Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]