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. Now, when
building children projects, is there a property in maven that can be
used to refer to the actual directory of parent during build time? I
know the notation of ${basedir}/../ might work in most cases, but what
if child project is in another level down, i.e.
Parent
|____ pom.xml
|____ children folder 1
| |___ child project 1
| | |
| | |___ pom.xml
| |___ child project 2
| |___ pom.xml
|____ child project 3
|___ pom.xml
Thanks
Yan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]