That would be correct, as that pom artifact (the parent) then would exist in the remote repo and can be fetched by Maven as any other artifact.
/Anders On Tue, Aug 24, 2010 at 14:54, EJ Ciramella <ecirame...@casenetinc.com>wrote: > Ahhh - hmmmm.... > > So we have an aggregate pom that lists the parent pom as the first module. > > All other poms make reference to this parent pom, but without the > <relativePath>. > > Additionally, I've worked places where this "parent pom" is NOT part of the > standard branching structure and has its own CI build to > monitor/build/deploy it. In that case (which is what I'd like to do at my > current place), I'd NOT need that <relativePath> tag, correct? > > -----Original Message----- > From: bmat...@gmail.com [mailto:bmat...@gmail.com] On Behalf Of Baptiste > MATHUS > Sent: Tuesday, August 24, 2010 3:38 AM > To: Maven Users List > Subject: Re: Maven 3 project ordering > > +1. > Maven 3 includes improvements about parent pom handling. See > > http://docs.codehaus.org/display/MAVENUSER/Iron+Fist+of+Maven+3.0+transition+pack#IronFistofMaven3.0transitionpack-relativepathtoparent > > I suspect you're referring to a pom that's just not in the parent > directory. > In maven 2, this is not a warning, in maven 3, you just have to put an > empty > <relativePath /> in your <parent /> tag. > > Cheers > > 2010/8/24 Anders Hammar <and...@hammar.net> > > > If you set the relativePath element for the parent section, does it make > a > > difference? > > > > /Anders > > > > On Mon, Aug 23, 2010 at 18:03, EJ Ciramella <ecirame...@casenetinc.com > > >wrote: > > > > > Hello again list - was hoping to NOT be sending all these maven 3 > > > questions...but..... > > > > > > So we have a parental pom that listed as the top module in the top > level > > > pom. > > > > > > In maven 2, the build just chugs along successfully and handles this no > > > problem. > > > > > > In maven 3, however, somehow maven jumps right by this particular > module > > > and then errors out saying there are version strings missing in some > > > dependencies (because we're using dependency management tags and have > the > > > versions defined there). If I install the parent pom by hand, THEN run > > the > > > build from the top down, there are no issues. > > > > > > My past experience with "corporate" poms was that they weren't normally > > in > > > the standard branching structure and typically deployed to the repo > > manager > > > by hand, which isn't the case here (yet). > > > > > > Any suggestions? > > > > > > P.S. - I'm really enjoying how maven 3 is making us honest with how we > > have > > > some stuff set up! > > > > > > > > > ________________________________ > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > > within > > > including any attachments is only for the recipient(s) to which it is > > > intended and may contain confidential and/or privileged material. Any > > > review, retransmission, dissemination or other use of; or taking of any > > > action in reliance upon this information by persons or entities other > > than > > > the intended recipient is prohibited. If you received this in error, > > please > > > send the e-mail back by replying to the sender and permanently delete > the > > > entire message and its attachments from all computers and network > systems > > > involved in its receipt. > > > > > > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. >