Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 18342 invoked from network); 30 Sep 2005 11:33:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2005 11:33:49 -0000 Received: (qmail 90102 invoked by uid 500); 30 Sep 2005 11:33:43 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 90063 invoked by uid 500); 30 Sep 2005 11:33:43 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 90052 invoked by uid 99); 30 Sep 2005 11:33:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 04:33:43 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of thomas.vdvelde@gmail.com designates 72.14.204.198 as permitted sender) Received: from [72.14.204.198] (HELO qproxy.gmail.com) (72.14.204.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 04:33:47 -0700 Received: by qproxy.gmail.com with SMTP id p26so75558qbb for ; Fri, 30 Sep 2005 04:33:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:references; b=WhQ8kn5q9cb8d2XoCm5ONAhZwTzdN3kPP3aAlJhW7f064Lfl5gQRF89Mm2kNtTh0bQfNjpyHT8rEPbbK0l32Ggdq8KEEzlkev58s5AUbytBIIefJZcPYZ3Biee97gJ5cyTlKv6DglgQbV4DboQzKlSzfA6YFg5yvlNHIGlRQLaU= Received: by 10.64.210.2 with SMTP id i2mr902324qbg; Fri, 30 Sep 2005 04:33:20 -0700 (PDT) Received: by 10.65.40.7 with HTTP; Fri, 30 Sep 2005 04:33:20 -0700 (PDT) Message-ID: <6b1148770509300433n76ed71e8m56ff9478cabca3bf@mail.gmail.com> Date: Fri, 30 Sep 2005 13:33:20 +0200 From: Thomas Van de Velde Reply-To: Thomas Van de Velde Sender: thomas.vdvelde@gmail.com To: Maven Users List Subject: Re: [M2] Recommended Project Layout and Eclipse In-Reply-To: <6b1148770509300416q3d6d734dj36f0173f15799e2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2045_9622205.1128080000105" References: <6b1148770509300416q3d6d734dj36f0173f15799e2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2045_9622205.1128080000105 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I ment to send this to the users list. Sorry for the double post! Cheers, Thomas On 9/30/05, Thomas Van de Velde wrote: > > Hi, > > I am wondering what the best way is to setup a project layout with M2 and > Eclipse for multiple modules. The documentationrecommends the following: > > +- pom.xml > +- my-app > | +- pom.xml > +- my-webapp > | +- pom.xml > > > The only way I can see this work with Eclipse is to add the entire > structure to a single Eclipse project. However this is not something I'd > want to do because I don't want to have a single Eclipse classpath that i= s > exposed to my-app and my-webapp. > > The only way around this, that I can currently see, is to do this: > > +- my-master > | +- pom.xml > +- my-app > | +- pom.xml > +- my-webapp > | +- pom.xml > > In this scenario; my-master, my-app, and my-webapp are all seperate > Eclipse projects. To make this work, I need to change the master POM's > modules element to the following: > > > ../my-app > ../my-webapp > > > Have I missed something or is this the recommended way? > > Thanks! > > Thomas > ------=_Part_2045_9622205.1128080000105--