Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 961 invoked from network); 4 Mar 2008 08:28:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 08:28:56 -0000 Received: (qmail 59309 invoked by uid 500); 4 Mar 2008 08:28:51 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 59273 invoked by uid 500); 4 Mar 2008 08:28:51 -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 59262 invoked by uid 99); 4 Mar 2008 08:28:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 00:28:51 -0800 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 [83.145.110.36] (HELO smtp-out.completel.net) (83.145.110.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 08:28:04 +0000 Received: from smtp.mipih.fr (unknown [213.30.131.228]) by smtp-out.completel.net (Postfix) with ESMTP id 7596BA9405C for ; Tue, 4 Mar 2008 09:28:24 +0100 (CET) Received: from smtp.mipih.fr (localhost [127.0.0.1]) by smtp.mipih.fr (messagerie) with ESMTP id 411CD22DD26 for ; Tue, 4 Mar 2008 09:28:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on 3web.mipih.fr X-Spam-Level: Received: from vfront.mipih.net (unknown [10.60.0.235]) by smtp.mipih.fr (messagerie) with ESMTP id 31ADD22DD23 for ; Tue, 4 Mar 2008 09:28:18 +0100 (CET) Received: from VMAIL.mipih.net ([10.31.1.48]) by vfront.mipih.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 4 Mar 2008 09:28:18 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Why is the parent pom upload compulsory ? Date: Tue, 4 Mar 2008 09:28:18 +0100 Message-ID: <7D90CDE85843914CB4DA65D3A421E6498EF2AA@vmail.mipih.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why is the parent pom upload compulsory ? Thread-Index: Ach9eGxuJ7tWg3qQQOSS3E+l+w+TGQAV7tSw References: <7D90CDE85843914CB4DA65D3A421E6498EF2A9@vmail.mipih.net> <9948cb690803031137q49cd6583p87bc1acada5e319b@mail.gmail.com> From: "MATHUS Baptiste" To: X-OriginalArrivalTime: 04 Mar 2008 08:28:18.0244 (UTC) FILETIME=[B2DBB840:01C87DD1] X-AV-Checked: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 Thanks for your answers, That's certainly what's wrong. We don't have any = $USER_HOME/.m2/settings.xml file. Only in $M2_HOME/conf. In fact, the maven version and binaries we're using is distributed to = our developers with the right settings.xml file in $M2_HOME/conf = directory. How come maven, launched by continuum, doesn't use = $M2_HOME/conf/settings.xml if no $USER_HOME/.m2/settings.xml is = found=A0?=20 Isn't it the maven binaries default behaviour? Why isn't it used=A0? In fact, as I said, if I start maven from the command line from the same = machine continuum is running in, it has no problem to use the = $M2_HOME/conf/settings.xml and is able to download the parent pom if = it's missing. Cheers. -----Message d'origine----- De : Sebastien Geindre [mailto:sgeindre@gmail.com]=20 Envoy=E9 : lundi 3 mars 2008 22:48 =C0 : continuum-users@maven.apache.org Objet : Re: Why is the parent pom upload compulsory ? Baptiste, The fact is that Continuum use the ~/.m2/settings.xml of the user which = launch Continuum.... And NOT settings.xml of maven installation... It's a bit confusing but it helps when you change version of maven... Sebastien, A toulouse... 2008/3/3, Olivier Lamy : > > Hi, > inline. > > 2008/3/3, MATHUS Baptiste : > > > Hi all, > > > > I'm evaluating continuum 1.1. > > Cool :-) > > > We've been using the 1.0 for some months now, and consider=20 > > migrating > mostly for the group management feature. > > In fact, we're about to add more and more projects, and displaying=20 > > them > all in the same view seems quite unreasonnable. > > I just tried adding one of our project and there seems to have a > problem with the parent pom. The thing I don't get is why it's needed. > > Is the "installation" feature related to this problem ? I didn't > configure any "installation", should I configure my maven installation = ? > Doesn't continuum just use the path/environment it's running in by = default ? > > > > Yep continuum will use default user settings (PATH, JAVA_HOME etc...) > > > > > > In fact, even if I empty the local repository and run mvn package=20 > > from > the project directory, the parent pom will be downloaded just fine. > > The mvn command is configured correctly, so why doesn't continuum=20 > > just > use the same configuration ? > > This parent pom should be available in a repo, you have to declare=20 > this repo in the settings.xml (~/.m2/settings.xml) > > > > > Maybe we had to do the same thing with continuum 1.0 and I don't > remember it ? In fact, I managed to do the build by uploading the=20 > parent pom, but it doesn't seem straightforward to me. > > I also noticed that if I add the parent pom as a project, then=20 > > delete > it. Then adding a project that uses this parent pom works fine. > > I guess there should be a part in the doc explaining this behaviour = :). > > > When you add the parent pom in continuum, mvn install it in the local=20 > repo.That's why it's available for other builds. > > > > I tried to find some doc about it, but didn't find a lot. > > > > Any advice greatly appreciated :). > > > > Thanks a lot. > > Cheers. > > > > > > -- Baptiste > > > > > -- S=E9bastien.