« Return to Thread: M2 : Having problems with a javac on a very simple build of my first M2 project.

[m1.2b2] get parent directory of ${basedir}

by Antonyan, Tigran(GE Infrastructure) :: Rate this Message:

Reply to Author | View in Thread


Hi all,

I'm trying to access a directory which is on the same level as ${basedir} like

projects
   maven project
   resource dir

running maven from "maven project" I'm trying to access the "resource dir" within maven.xml to copy a file, and I didn't find any way to specify relative path, is there any way of doing this?
something like ${basedir}/../resource dir/file.txt (this doesn't work) ?

thank you in advance!

Regards,
Tigran Antonyan



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: M2 : Having problems with a javac on a very simple build of my first M2 project.