I am currently trying to copy, using the maven-dependency-plugin, all my
dependencies from all my child modules into a directory relative to the
root parent folder (the one containing the root pom.xml file). Since
copy-dependencies command, invoked from the parent pom, is recursive, it
looks like I cannot specify the root pom folder as ${basedir} since this
value is different for each project!
 
Is there a way to know the absolute value (directory) of the root parent
folder? 
 
How do you reference a directory relative to the root folder of a multi
module project in maven?
 
P
|-----A
|-----B
|-----...
|-----Z
|-----outputdir (relative to P)
 
 
Thanks for your help,
 
Simon 

Reply via email to