Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 68982 invoked from network); 15 Jun 2010 07:09:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 07:09:10 -0000 Received: (qmail 39551 invoked by uid 500); 15 Jun 2010 07:09:10 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 38898 invoked by uid 500); 15 Jun 2010 07:09:06 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 12194 invoked by uid 99); 14 Jun 2010 22:34:16 -0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) From: "House, Thomas" To: dev@maven.apache.org x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: Thread-Topic: Multi Module CVS Checkout Thread-Index: AcsMEaPM8aza1p9jTxathdTNWqFsCQ== X-OriginalArrivalTime: 14 Jun 2010 22:33:42.0158 (UTC) FILETIME=[A45AC2E0:01CB0C11] x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB0C11.A4596374" Subject: Multi Module CVS Checkout Date: Mon, 14 Jun 2010 18:33:41 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Multi Module CVS Checkout Thread-Index: AcsMEaPM8aza1p9jTxathdTNWqFsCQ== X-OriginalArrivalTime: 14 Jun 2010 22:33:42.0158 (UTC) FILETIME=[A45AC2E0:01CB0C11] ------_=_NextPart_001_01CB0C11.A4596374 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Everyone - I'm having a problem checking out the code from my multi module project - it's very frustrating and I've been working on it for = a few days, so any help anyone can provide will be greatly appreciated. = I posted this question to the user's list and didn't get much of a response so I wanted to give the dev list a try. Here's the background - I have a multi module project where the parent project is just used for meta data- in other words there is no code associated with the parent, it's just used to configure settings common to all child projects. It builds nothing and its packaging is set to POM. I'm trying to check out my code from CVS ------------------------------ 1. If I put the SCM element in the child pom's and remove it from the parent then run mvn scm:checkout from the parent directory, I get the error: Cannot run checkout command :=20 Embedded error: Can't load the scm provider. You need to define a connectionUrl parameter I see no connectionUrl parameter within the SCM documentation. ------------------------------ 2. If I put the SCM element in the parent pom and remove it from the child pom's then run the mvn scm:checkout from the parent directory, I get the error: [ERROR] cvs server: cannot find module `reviewmanager' - ignored cvs server: cannot find module `reviewmanager' - ignored [ERROR] BUILD ERROR Here it's trying to checkout the artifactId of reviewmanager, which is the artifactId for the parent. However since the packaging is set to POM, I'd think Maven would skip the parent knowing that it's a project for meta data only My scm configuration for the top 2 tries is structured like this: =20 scm:cvs:pserver:herestheuser:heresthepassword@server.domain:= /ABC/DEF:${artifactId} =20 scm:cvs:pserver:herestheuser:heresthepassword@serve= r.domain:/ABC/DEF:${artifactId} HEAD ------------------------------ =20 3. If I keep the configuration in the parent and remove the artifactId from the connection / developerConnection and then run mvn scm:checkout then I get the following error: Cannot run checkout command Embedded error: Exception while executing SCM command Username isn't defined. The scm config for this last attempt is like this: =20 scm:cvs:pserver:herestheuser:heresthepassword@server.domain:= /ABC/DEF =20 scm:cvs:pserver:herestheuser:heresthepassword@serve= r.domain:/ABC/DEF HEAD ------------------------------ 4. If I take the same configuration (as used in the top 2 examples = With the ${artifactId}) and put it in any of the child pom's and then run = the mvn scm:checkout from the Child Directory, then it works fine. This seems like it would be a very common usecase so I'm surprised I can't find more information about it on the web. Maybe I'm doing a bad job searching. Tom House Software Engineer 617-273-3126 ------_=_NextPart_001_01CB0C11.A4596374--