is prohibited. Any opinions
>> expressed in this email are those of the author personally.
>
> --
> Roland Asmann
>
> CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> Bäckerstrasse 1/2/7
> A-1010 Wien
> FN 266155f, Handelsgericht Wien
>
> Tel.: +43/1/513 88 77
: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 10, 2007 6:52 PM
> To: Maven Users List
> Subject: Re: Is there a property for parent directory?
>
> Why do you need to do this? There may be a better way to do the same
> thing that does not involve a ${parent} tag at all.
Yes it is.
${parent} gives you a 'pom', on which you can access all properties that you
can access directly (e.g. 'groupId', 'artifactId', 'version', 'packaging').
On Tuesday 11 September 2007 13:17, [EMAIL PROTECTED] wrote:
> Is this ${parent} property generally available, i.e. ${parent.artifac
Is this ${parent} property generally available, i.e. ${parent.artifactId},
etc
It would help me refactor a number of places where I use something similar
to this in a parent POM
${artifactId}
Roland Asmann <[EMAIL PROTECTED]> wrote on 09/11/2007 06:49:55 AM:
> Yes there is: ${pare
AIL PROTECTED]
> Sent: Monday, September 10, 2007 6:52 PM
> To: Maven Users List
> Subject: Re: Is there a property for parent directory?
>
> Why do you need to do this? There may be a better way to do the same
> thing that does not involve a ${parent} tag at all.
>
> Wayne
e other better way to solve it? is there really a ${parent}
property tag in maven?
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Monday, September 10, 2007 6:52 PM
To: Maven Users List
Subject: Re: Is there a property for parent directory?
Why do you need to do this?
Why do you need to do this? There may be a better way to do the same
thing that does not involve a ${parent} tag at all.
Wayne
On 9/10/07, Huang, Yan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a property or way to get parent directory in maven? Let's say I
> have this structure of my projects:
Hi,
Is there a property or way to get parent directory in maven? Let's say I
have this structure of my projects:
Parent
| pom.xml
| child project 1
| |___ pom.xml
| child project 2
|___ pom.xml
Child project 1 and project 2 will inherit from parent 1.