You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "KARR, DAVID" <dk...@att.com> on 2012/03/09 21:45:53 UTC

How to install the pom when it's also an aggregator?

I'm trying to build a project where the top-level POM is both a parent POM and an aggregator.  This seems like it sets up a chicken-and-egg problem for the first build.  How do I install the POM for the top-level without trying to process the modules?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: How to install the pom when it's also an aggregator?

Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: anders.g.hammar@gmail.com [mailto:anders.g.hammar@gmail.com] On
> Behalf Of Anders Hammar
> Sent: Friday, March 09, 2012 1:13 PM
> To: Maven Users List
> Subject: Re: How to install the pom when it's also an aggregator?
> 
> I don't follow. It shouldn't be a problem. What's the problem.

Ah, I think I just figured it out.  It looks like it was just a bug in one of the parent poms.  The snapshot version string it was specifying for its artifact didn't match the version specified in the child poms.  Once I made them match, it started to build the thing.

> It is possible to just build the "top pom" (mvn deploy -N), but this
> should not be required.
> On Fri, Mar 9, 2012 at 21:45, KARR, DAVID <dk...@att.com> wrote:
> > I'm trying to build a project where the top-level POM is both a
> parent POM and an aggregator.  This seems like it sets up a chicken-
> and-egg problem for the first build.  How do I install the POM for the
> top-level without trying to process the modules?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to install the pom when it's also an aggregator?

Posted by Anders Hammar <an...@hammar.net>.
I don't follow. It shouldn't be a problem. What's the problem.

It is possible to just build the "top pom" (mvn deploy -N), but this
should not be required.

/Anders

On Fri, Mar 9, 2012 at 21:45, KARR, DAVID <dk...@att.com> wrote:
> I'm trying to build a project where the top-level POM is both a parent POM and an aggregator.  This seems like it sets up a chicken-and-egg problem for the first build.  How do I install the POM for the top-level without trying to process the modules?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org