You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Sangjin Lee <sj...@gmail.com> on 2008/02/28 01:58:56 UTC
async sample not building
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
Re: async sample not building
Posted by Rick McGuire <ri...@gmail.com>.
Sangjin Lee wrote:
> That worked. Thanks! Just curious, that step was not needed
> previously. Something must have changed since?
When the 2.1 release branch was taken, the trunk versions get a bump in
version number. This includes the samples as well as the main server.
If you were working with a checkout of an individual sample, the pom was
referring to a parent pom that did not exist in your repository (and
hadn't been published in the central repository yet).
Rick
>
> Sangjin
>
> On Wed, Feb 27, 2008 at 5:44 PM, Jarek Gawor <jgawor@gmail.com
> <ma...@gmail.com>> wrote:
>
> Try now. I deployed a new snapshot of samples.
>
> Jarek
>
> On Wed, Feb 27, 2008 at 7:58 PM, Sangjin Lee <sjlee0@gmail.com
> <ma...@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
> >
> >
>
>
Re: async sample not building
Posted by Sangjin Lee <sj...@gmail.com>.
That worked. Thanks! Just curious, that step was not needed previously.
Something must have changed since?
Sangjin
On Wed, Feb 27, 2008 at 5:44 PM, Jarek Gawor <jg...@gmail.com> wrote:
> Try now. I deployed a new snapshot of samples.
>
> Jarek
>
> On Wed, Feb 27, 2008 at 7:58 PM, Sangjin Lee <sj...@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-parentfor
> > project: null:samples:pom:null for project null:samples:pom:null
> >
> > Any idea what the problem might be?
> >
> > Thanks,
> > Sangjin
> >
> >
>
Re: async sample not building
Posted by Jarek Gawor <jg...@gmail.com>.
Try now. I deployed a new snapshot of samples.
Jarek
On Wed, Feb 27, 2008 at 7:58 PM, Sangjin Lee <sj...@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
>
>
Re: async sample not building
Posted by Jason Warner <ja...@gmail.com>.
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 <sj...@gmail.com> 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