Yes, right.

Thanks!

On Fri, May 9, 2008 at 11:24 AM, Brian E. Fox <[EMAIL PROTECTED]>
wrote:

> You can use snapshots, you should still not use properties in parent.*
> or project.groupId / project.artifactId / project.version
>
> -----Original Message-----
> From: Dobri Kitipov [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 09, 2008 1:09 AM
> To: Maven Users List
> Subject: Re: Maven 2.0.7 and <relativePath/>
>
> Hi,
> I think in this case it is possible to solve this if we use SNAPSHOT as
> a
> version.
>
> Regards, Dobri
>
> On Fri, May 9, 2008 at 4:38 AM, Brian E. Fox <[EMAIL PROTECTED]>
> wrote:
>
> > The parents must be found before the property interpolation can occur
> > and you essentially have a chicken or egg problem here.
> >
> > -----Original Message-----
> > From: Dobri Kitipov [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 07, 2008 11:54 PM
> > To: Maven Users List
> > Subject: Re: Maven 2.0.7 and <relativePath/>
> >
> > Hi Brian,
> > thank you! You are right this placeholders in g/a/v are causing me
> lots
> > of
> > troubles.
> > But anyway, can you give some more information why this is so? My
> > impression
> > is that this is something not deterministic. I mean sometime it may
> > work,
> > but some time not.
> >
> > regards, Dobri
> >
> > On Wed, May 7, 2008 at 7:59 PM, Brian E. Fox
> <[EMAIL PROTECTED]>
> > wrote:
> >
> > > The relative path is used when building a child module to find the
> > > parent. By default it looks in ../pom.xml but you can change this.
> If
> > > the matching parent is not found on disk, it will be retrieved from
> > the
> > > repository.
> > >
> > > You should not have properties in the g/a/v of either the parent
> > section
> > > or the primary declaration of an artifact (project.group...etc) as
> > this
> > > will surely cause you lots of headaches.
> > >
> > > -----Original Message-----
> > > From: Dobri Kitipov [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, May 07, 2008 7:50 AM
> > > To: users@maven.apache.org
> > > Subject: Maven 2.0.7 and <relativePath/>
> > >
> > > Hi all,
> > > I did not find a good explanation about the usage of <relativePath/>
> > in
> > > the
> > > net. I am interested if I have e.g.:
> > >
> > > <parent>
> > >        <groupId>com.mycomp</groupId>
> > >        <artifactId>mycomp-parent-pom</artifactId>
> > >        <version>${mycomp.version}</version>
> > >        <relativePath>../../parent-pom/pom.xml</relativePath>
> > >    </parent>
> > >
> > > If the <relativePath> will be checked first and then the
> repositories?
> > > Currently I can see into the logs that Maven tries to download the
> > > artifact
> > > from the repository, but there is no an artifact with version
> > > ${mycomp.version}. I am expecting that Maven should try the relative
> > > path?
> > >
> > > Thank you in advance.
> > >
> > > Regards, Dobri
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to