Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 86621 invoked from network); 20 Nov 2005 01:33:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Nov 2005 01:33:29 -0000 Received: (qmail 97159 invoked by uid 500); 20 Nov 2005 01:33:29 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 97089 invoked by uid 500); 20 Nov 2005 01:33:28 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 97078 invoked by uid 99); 20 Nov 2005 01:33:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2005 17:33:28 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2005 17:35:01 -0800 Received: (qmail 25235 invoked by uid 89); 20 Nov 2005 01:33:06 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 20 Nov 2005 01:33:06 -0000 Message-ID: <135165025.1132450386572.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sat, 19 Nov 2005 19:33:06 -0600 (CST) From: "Christian Schulte (JIRA)" To: continuum-dev@maven.apache.org Subject: [jira] Created: (CONTINUUM-462) Relative path not honoured in cvs commands for flat project layout Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Relative path not honoured in cvs commands for flat project layout ------------------------------------------------------------------ Key: CONTINUUM-462 URL: http://jira.codehaus.org/browse/CONTINUUM-462 Project: Continuum Type: Bug Versions: 1.0, 1.0.1 Environment: affects all environments Reporter: Christian Schulte Continuum does not implement the flat project layout as described at at the end of the site correctly. The checkout via ViewCVS does work but during building continuum does not propagate the relative path to the modules and the parent correctly to the cvs commands it executes making the build fail because of cvs errors about unknown modules. Example: REPOROOT |--ROOT |----pom.xml |--MODULE1 |----pom.xml |--MODULE2 |----pom.xml Just directories below REPOROOT. The ViewCVS URL to import such a project into continuum looks something like this... http://somehost/viewcvs/*checkout*/REPOROOT/ROOT/pom.xml and the SCM URL inside ROOT/pom.xml looks like this... scm:cvs:pserver:user@host:/cvs:/REPOROOT/ROOT Continuum can successfully build the project inside ROOT but fails for all projects defined like this in ROOT/pom.xml. ../MODULE1 ../MDOULE2 That is because it tries to do the cvs checkouts wihtout the correct relative path as it did during initial checkout via ViewCVS. 21212715 [Thread-1] WARN org.apache.maven.continuum.scm.ContinuumScm - Command output: cvs server: cannot find module `REPOROOT/ROOT/MODULE1' - ignored cvs [checkout aborted]: cannot expand modules Here it should have used REPOROOT/ROOT/../MODULE1. The workaround to get this structure working in continuum is to specify the SCM URL inside every single pom.xml of the whole project with the correct path. Continuum then does support the flat project layout. Without the SCM URLs inside every pom it only honours the structure during initial checkout via ViewCVS but not during the cvs commands executed. -- 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