This is a frequent question, and the answer is no: there's no (Maven)
way to refer to a parent or root directory from within a module.

On 11/24/06, Deluigi Marcus <[EMAIL PROTECTED]> wrote:
Hello.

Is there a Maven property that points to the projects root directory?
It may be not elegant to let the sub-modules know about the directory of
their parent module, but I have several centralized configuration files
(e.g. for log4j and tomcat) stored in the root-modules directory and I
want that all subprojects access them.

I tried ${basedir} but apparently it just points to the current working
directory, so it changes for every submodule.

Thanks for any hints!

Greetings,
Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to