Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 96860 invoked from network); 13 Dec 2005 07:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 07:43:26 -0000 Received: (qmail 9161 invoked by uid 500); 13 Dec 2005 07:43:24 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8459 invoked by uid 500); 13 Dec 2005 07:43:22 -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 8447 invoked by uid 99); 13 Dec 2005 07:43:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 23:43:21 -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 [195.41.45.119] (HELO mail.eos.dk) (195.41.45.119) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 12 Dec 2005 23:43:21 -0800 Received: (qmail 25773 invoked by uid 510); 13 Dec 2005 07:42:58 -0000 Received: from jrf@trifork.com by mail.eos.dk by uid 508 with qmail-scanner-1.20st (clamuko: 0.66. spamassassin: 3.0.2. Clear:RC:1(10.10.10.24):. Processed in 0.022185 secs); 13 Dec 2005 07:42:58 -0000 Received: from pc-24.eos.dk (HELO ?10.10.10.24?) (jrf@trifork.com@10.10.10.24) by mail.eos.dk with SMTP; 13 Dec 2005 07:42:58 -0000 Message-ID: <439E7BA4.4050409@trifork.com> Date: Tue, 13 Dec 2005 08:43:32 +0100 From: =?ISO-8859-1?Q?=22Jakob_F=E6rch_=28Trifork=29=22?= Organization: Trifork A/S User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Java Adventure Builder Reference application, deployment/build issues References: <439D9203.1020708@trifork.com> <439D9C63.8070003@apache.org> In-Reply-To: <439D9C63.8070003@apache.org> Content-Type: text/plain; charset=ISO-8859-1; 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 Jacek Laskowski wrote: > Jakob F�rch (Trifork) wrote: > >> I guess I'm in dire need of some help with the (new?) build process. > > > Hi Jakob, > > It seems that the new build process is a very hot topic recently. It's > not yet described in the wiki and thus scratching your head is of a > little help when in trouble ;) > I'll just continue working with the jetty-j2ee distribution I managed to build yesterday. >> I tried running maven m:default in the source root, but that didn't >> produce anything in ~/.maven/repository/distributions. > > > Why did you do that at all? I wish I was able to provide an answer to that :-) > >> I copied the dependency on the javamail-spec from the "main" project.pom. >> The one in sandbox/adventurebuilder seemed to inherit a >> geronimo_spec_javamail_version=1.0 from etc/project.properties which >> isn't healthy anymore. > > Why? I thought that 1.0 is the latest version of any spec. I'm not sure exactly what happened, but it seems related to the change of groupid to org.apache.geronimo on the specs. The following is in the sandbox/adventurebuilder/project.xml now: geronimo-spec geronimo-spec-javamail ${geronimo_spec_javamail_version} but the only version my repository contained was called something like 1.3.1-rc6. The following snippet seems to comply with what is build by maven new: org.apache.geronimo.specs geronimo-javamail_1.3.1_spec ${geronimo_spec_javamail_version} (not that I get why 1.3.1 is hardcoded into the artifactId). >> While trying to distribute the application (running maven -o in >> sandbox/adventurebuilder) the deployer doesn't seem to recognize the >> --offline option. This might be caused by my tinkering around with the >> distribution files, so I guess I'd try to fix the above first. > > > I remember very vaguely that offline might not work. Try starting a > server and distribute then. I'll try to fiddle a little with the maven.xml script and start a server before deploying. I wasn't able to do it yesterday (couldn't get the deployer.jar to recognize the user and password options), but it seems the other sample apps use the maven deploy goal. I'll try if that works better. > Absolutely right. You'd be better off doing it online so that you won't > have to build Geronimo yourself and download necessary dependencies as > needed. > >> Perhaps all that is needed is some maven dependency, but I have >> not been able to figure out which. > > > Take a look at samples and copy necessary parts. It hasn't changed much, > I hope. I'll defer getting the dependencies to work; doesn't seem to have any recent builds, so I'm not sure there would be anything interesting for Maven to download. Jakob