Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 46558 invoked from network); 28 Feb 2008 01:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2008 01:19:02 -0000 Received: (qmail 62972 invoked by uid 500); 28 Feb 2008 01:18:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 62914 invoked by uid 500); 28 Feb 2008 01:18:56 -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 62903 invoked by uid 99); 28 Feb 2008 01:18:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 17:18:56 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jaw981@gmail.com designates 209.85.142.188 as permitted sender) Received: from [209.85.142.188] (HELO ti-out-0910.google.com) (209.85.142.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 01:18:22 +0000 Received: by ti-out-0910.google.com with SMTP id b8so2507143tic.1 for ; Wed, 27 Feb 2008 17:18:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=F7Jyf02rzAyWae7UsUbODUvZAqLpNPTxwb79crhxYbY=; b=W9ZbM8ESSFPNXLS3MugQ0XZSdlzlzEan/z4TAPiss9gBNdNR/THb00L8No9hlBjNUunb4PqL+UFYk0A03A3hXigAFWmnwjuBCiDSDBpVMHfJ2SYldbzzapOtGIH4/Va1UsK9pzq7xuqrJQ6oL7bmiQAsDPc7nMHyk3e7HsRuWK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=vJJPNi/g/dS9x7YIKNOzA16FwsCAeSj4CY1CUz66OTClOMzCP3tAhJvf59sVEKXSy6z/o5O/Dlwfesd74OeC/+PwT+cE6pD8+zeB4rCkz0RfHO7E17Y6gon+RHSSZyQMfEo2lhog4z4cjbzPwSNaD1Xgu6dJLE1CmnqEZq05UN8= Received: by 10.151.40.3 with SMTP id s3mr2575342ybj.175.1204161506789; Wed, 27 Feb 2008 17:18:26 -0800 (PST) Received: by 10.150.138.3 with HTTP; Wed, 27 Feb 2008 17:18:26 -0800 (PST) Message-ID: <73a75e430802271718k4fbafb9cje666f6db4b7129ee@mail.gmail.com> Date: Wed, 27 Feb 2008 20:18:26 -0500 From: "Jason Warner" To: dev@geronimo.apache.org Subject: Re: async sample not building In-Reply-To: <99d1baac0802271658k6da8d9c7vccc05e236dd8dba1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6088_19852371.1204161506774" References: <99d1baac0802271658k6da8d9c7vccc05e236dd8dba1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6088_19852371.1204161506774 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sangjin, I had this problem a week or so ago working with the sample. You need to build the top level pom for the samples. This isn't very difficult and you only need to do it once. This can be accomplished by first checking out all the samples: svn co https://svn.apache.org/repos/asf/geronimo/samples/trunk/ Next, you need to build the top level pom.xml. Assuming you checked out the samples code into trunk, cd into trunk and then run: mvn -N install The -N prevents maven from building recursively and will only build the dependency you are missing. This is all you need to do. You should be able to build the async-http sample now. I'm not sure if the whole samples directory needs checked out. I checked it all out when I did it, but I'm wondering if there's a way to only check out what exactly is needed. Let me know if any of this is confusing or if you have any other questions. Hope this helps! On Wed, Feb 27, 2008 at 7:58 PM, Sangjin Lee wrote: > I refreshed the async http sample at > https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/async-httpin a long while, and it's failing to build. On doing mvn, it gives me the > following error: > > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: null:samples:pom:null > > Reason: Cannot find parent: org.apache.geronimo.samples:samples-parent for > project: null:samples:pom:null for project null:samples:pom:null > > Any idea what the problem might be? > > Thanks, > Sangjin > > -- ~Jason Warner ------=_Part_6088_19852371.1204161506774 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sangjin,

I had this problem a week or so ago working with the sample.  You need to build the top level pom for the samples.  This isn't very difficult and you only need to do it once.  This can be accomplished by first checking out all the samples:

svn co https://svn.apache.org/repos/asf/geronimo/samples/trunk/

Next, you need to build the top level pom.xml.  Assuming you checked out the samples code into trunk, cd into trunk and then run:

mvn -N install

The -N prevents maven from building recursively and will only build the dependency you are missing.  This is all you need to do.  You should be able to build the async-http sample now.

I'm not sure if the whole samples directory needs checked out.  I checked it all out when I did it, but I'm wondering if there's a way to only check out what exactly is needed.  Let me know if any of this is confusing or if you have any other questions.

Hope this helps!



On Wed, Feb 27, 2008 at 7:58 PM, Sangjin Lee <sjlee0@gmail.com> wrote:
I refreshed the async http sample at https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/async-http in a long while, and it's failing to build.  On doing mvn, it gives me the following error:

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:samples:pom:null

Reason: Cannot find parent: org.apache.geronimo.samples:samples-parent for project: null:samples:pom:null for project null:samples:pom:null

Any idea what the problem might be?

Thanks,
Sangjin




--
~Jason Warner ------=_Part_6088_19852371.1204161506774--