Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 13323 invoked from network); 12 May 2010 08:21:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 08:21:40 -0000 Received: (qmail 55914 invoked by uid 500); 12 May 2010 08:21:40 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 55875 invoked by uid 500); 12 May 2010 08:21:40 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 55867 invoked by uid 99); 12 May 2010 08:21:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:21:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:21:34 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id A3F5E4582BC for ; Wed, 12 May 2010 03:21:12 -0500 (CDT) Date: Wed, 12 May 2010 03:21:12 -0500 (CDT) From: "Ed Slocombe (JIRA)" To: issues@maven.apache.org Message-ID: <288159.19284.1273652472464.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Created: (MRELEASE-556) Perform fails with 'working directory "...\workspace\target\checkout\workspace" does not exist!' MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org Perform fails with 'working directory "...\workspace\target\checkout\workspace" does not exist!' ------------------------------------------------------------------------------------------------ Key: MRELEASE-556 URL: http://jira.codehaus.org/browse/MRELEASE-556 Project: Maven 2.x Release Plugin Issue Type: Bug Components: perform Affects Versions: 2.0 Environment: Windows XP Reporter: Ed Slocombe I have maven project that fails when release:perform is called, though release;prepare works as expected. I have found two bug reports which may be of relevance: MRELEASE-261 -> Closed and fixed in version 2.0 but seems similiar MRELEASE-516 -> Output of perform is identical The last few lines of output I get: {code} [INFO] Executing: cmd.exe /X /C "p4 -d E:\hudson\jobs\myHudsonJob\workspace\target\checkout -p 1.1.1.1:1111: client -d myProjectWorkspace-MavenSCM-E:\hudson\jobs\myHudsonJob\workspace\target\checkout" [INFO] Executing goals 'deploy'... [WARNING] Base directory is a file. Using base directory as POM location. [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing Maven. Working directory "E:\hudson\jobs\myHudsonJob\workspace\target\checkout\workspace" does not exist! {code} >From reading the aforementioned bug reports, the possible cause of the error may be related to my modules' structure, I've tried to outline it below: {code} /workspace | |+ pom.xml (root pom whose parent is the build pom, | calling release:perform on this pom) | [Modules: moduleA and moduleB] | |- moduleA |+ pom.xml (parent is also build pom) |+ build/pom.xml (the build pom - no custom parent) |- moduleB |+ pom.xml (parent is build pom) {code} It seems that the root pom should be in some common directory inside 'workspace' from the error but tried that and doesn't work, nor make sense as to why I need it. It then figures that the base directory is *workspace* which then means the working directory is not found...the working directory it should be using (having seen where everything is checked out) is 'E:\hudson\jobs\myHudsonJob\workspace\target\checkout\'. -- 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