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

<properties>
    <super.artifactId>${artifactId}<super.artifactId>
</properties>



Roland Asmann <[EMAIL PROTECTED]> wrote on 09/11/2007 06:49:55 AM:

> Yes there is: ${parent.basedir} should be the one you need....
> Be carefull though, if your child-project are deeper than one level, you 

> should use ${parent.parent.basedir} (and so on).
> 
> Isn't it possible for you to make a dependency of some kind to the 
> tools-project? Or build your tools as maven-plugins, that way you won't 
need 
> the variables!
> 
> [snipped discussion of why...]

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Reply via email to