Re: Is there a property for parent directory?

2007-10-10 Thread Peter Niederwieser
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

RE: Is there a property for parent directory?

2007-09-11 Thread Huang, Yan
: 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.

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
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

Re: Is there a property for parent directory?

2007-09-11 Thread robert . egan
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

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
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

RE: Is there a property for parent directory?

2007-09-11 Thread Huang, Yan
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?

Re: Is there a property for parent directory?

2007-09-10 Thread Wayne Fay
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:

Is there a property for parent directory?

2007-09-10 Thread Huang, Yan
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.