Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 587 invoked from network); 22 Dec 2005 16:05:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Dec 2005 16:05:06 -0000 Received: (qmail 76930 invoked by uid 500); 22 Dec 2005 16:05:05 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 76909 invoked by uid 500); 22 Dec 2005 16:05:05 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 76898 invoked by uid 99); 22 Dec 2005 16:05:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 08:05:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.193.206.151] (HELO mailsender.amenworld.com) (62.193.206.151) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 08:05:04 -0800 Received: from webmail9.amenworld.com (webmail9.amenworld.com [62.193.206.9]) by mailsender.amenworld.com (Postfix) with SMTP id 108DFA3A60D for ; Thu, 22 Dec 2005 17:04:42 +0100 (CET) Received: (qmail 13299 invoked from network); 22 Dec 2005 16:04:48 -0000 Received: from 166.20.99-84.rev.gaoland.net (HELO ?127.0.0.1?) (84.99.20.166) by 0 with SMTP; 22 Dec 2005 16:04:48 -0000 Message-ID: <43AACE92.6060205@venisse.net> Date: Thu, 22 Dec 2005 17:04:34 +0100 From: Emmanuel Venisse User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: Problem with maven 2 modules References: <43AAC3FA.6080402@bzdyl.net> In-Reply-To: <43AAC3FA.6080402@bzdyl.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N When you add a project with modules, on your server that host pom, you need to have the correct directory structure. In your case, you need to have on your http server, this structure: projectX your_pom_X_file projectA your_pom_A_file projectB your_pom_B_file So you can't use a maven repository for adding project if your project contains modules. In future version, we'll perhaps download modules from scm instead of use the url. Emmanuel Piotr Bzdyl a �crit : > Hello, > > I have parent pom.xml with following lines: > > 4.0.0 > com.mydomain.projectX > projectX > pom > 1.0-SNAPSHOT > > > > > scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/ > > > scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/ > > > [...] > > projectA > projectB > > > and poms of the projectA and projectB (no scm information provided): > > > projectX > com.mydomain.projectX > 1.0-SNAPSHOT > > projectA > > I try to add Maven 2 projectX to the Continuum using URL: > http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAPSHOT.pom > > > but I get error message: > > Could not download > http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAP/projectA/pom.xml: > > Unable to validate URL > > Could not download > http://repository.mydomain.com/com/mydomain/projectX/projectX/1.0-SNAPSHOT/projectX-1.0-SNAP/projectB/pom.xml: > > Unable to validate URL > > Why continuum generates so strange URLs to the modules? I checked that I > have "/" at the end of the parent project scm url > (scm:svn:svn://mydomain.com/svnrepo/projectX/trunk/). > > Does modules projects have to be in the group > com.mydomain.projectX.projectX? (projectX group is com.mydomain.projectX) > > Best regards, > Piotrek > > > >