Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 64043 invoked from network); 1 Jul 2006 20:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2006 20:13:52 -0000 Received: (qmail 98155 invoked by uid 500); 1 Jul 2006 20:13:45 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 98102 invoked by uid 500); 1 Jul 2006 20:13:45 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 98091 invoked by uid 99); 1 Jul 2006 20:13:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2006 13:13:45 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of goyathlay.geronimo@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO nz-out-0102.google.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2006 13:13:44 -0700 Received: by nz-out-0102.google.com with SMTP id s1so579194nze for ; Sat, 01 Jul 2006 13:13:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MEUHi9nG4s1kw9sxSY5rKGn9unjtIaDy9ByXDW4zzsmsIOsZcJqDqaZKFzb8FcA4eFswLg+QqFHnwV0TpEqAkCzuvmPQQonx/HAHNaYa9f+zWylvVdc2WGjKWCOWyKA350AjeGovpb8NApK22Hd4iBnhKbucOiZsvbCCuVEzTIM= Received: by 10.36.10.20 with SMTP id 20mr626171nzj; Sat, 01 Jul 2006 13:13:23 -0700 (PDT) Received: by 10.36.154.17 with HTTP; Sat, 1 Jul 2006 13:13:23 -0700 (PDT) Message-ID: Date: Sat, 1 Jul 2006 16:13:23 -0400 From: "Prasad Kashyap" To: dev@geronimo.apache.org Subject: Re: Assembling a Geronimo distribution in a m2 build - first look. In-Reply-To: <20060701034318.28740.qmail@web31708.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060701034318.28740.qmail@web31708.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Inline - On 6/30/06, anita kulshreshtha wrote: > inline.. > > --- Prasad Kashyap wrote: > > > > > 1. Our pom.xml first lists all and only geronimo modules, configs and > > apps as dependencies. The transitive deps are taken care of by m-a-p. > > In a perfect M2 world just using configs as dependencies should be > enough. The modules should come as transitive dependencies. I am not > sure if this is possible with the existing InstallConfig. > Your are right.. Existing "installConfig" does care of installing the module binaries of the configs. But since I am currently handicapped with an unsuccessful build, I don't know if all the modules are installed as a part of the config dependencies. So if that is a redundant step we may eliminate those modules that are installed as config dependencies into the "repository" directory Note that we still need to list those modules that are copied into the lib, lib/ext, lib/ext/endorsed dirs. We should also list the modules for schemas. Cheers Prasad > Thanks > Anita > > > > > > 2. We first invoke the geronimo-assembly-plugin's "installConfig" > > goal > > to install the configs into target/archive-temp/repository. This mojo > > will try to install all dependencies of type "car" when no artifact > > is > > explicitly specified. Since we have listed all configs as deps in our > > j2ee-jetty-server pom.xml, they are installed. > > > > 3. Then we invoke m-a-p with assembly descriptor setup.xml and > > intermediaryAssembly set to true. The intermediaryAssembly set to > > true will create the staging area but skip the final archive > > creation. > > The setup.xml will copy all deps other than the from > > localRepository to target/archive-temp/repository. We exclude the > > configs here b'coz the configs are installed in step 2 above. So now > > we have the modules and the configs all in the same repo. > > > > 4. We also use this setup.xml to unpack the scripts module into the > > staging area. > > > > 5. Then we invoke m-a-p again with assembly descriptor bin.xml. The > > plugin copies the library jars, the schema files, the jars for bin > > etc. The *.bat and *.sh files that we copied into the staging area > > in > > step 4 are now bundled into the archive but with correct mode and > > lineendings.. > > > > That's about it. > > > > Cheers > > Prasad > > > > On 6/30/06, David Jencks wrote: > > > OK, I got further..... actually into the assembly. > > > > > > Prasad, can you outline what the maven assembly plugin is used for? > > > For me it's objecting to a lot of our dependencies not having maven > > > poms.... I removed a bunch that don't go into the server any more, > > > but its now objecting to the jasper compiler not having poms. > > > > > > thanks > > > david jencks > > > > > > On Jun 30, 2006, at 3:33 PM, David Jencks wrote: > > > > > > > I think that the missing files got included 2 or 3 times in the > > > > patch.... which makes compiling the result somewhat difficult :-) > > > > > > > > Here's a pruned patch with (I hope) only one copy of each missing > > > > file. > > > > > > > > david jencks > > > > > > > > > > > > On Jun 30, 2006, at 3:00 PM, Prasad Kashyap wrote: > > > > > > > >> I'm sorry. The earlier maven-assembly-plugin.patch had a whole > > > >> directory that had gone missing. > > > >> > > > >> Here is the patch again. > > > >> > > > >> Thanks djencks for catching it. > > > >> > > > >> Cheers > > > >> Prasad > > > >> > > > >> > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >