I tend to define a property like MyProject.root=c:/MyProject, and then
address some things relative to that.
It saves all that '..' lark.

Benedict


> -----Original Message-----
> From: Abdallah, Dr. Fuad [mailto:[EMAIL PROTECTED]
> Sent: 01 December 2004 16:19
> To: 'Maven Users List'
> Subject: Reference to Parent Project
>
>
> Hi Everybody,
>
> I just started to move a project to maven and got into a problem with the
> relative path to parent projects.
>
> The project consists of different subprojects that all extend a template
> project. I would like to have checkstyle and PMD configurations placed in
> the template project together with the plugin properties.
>
> Running one of the subprojects fails because I did not find how
> to specify a
> path relative to the parent (template) project (and the path is different
> for the subprojects).
> ${basedir} is replaced by the subprojects basedir - does anything like
> parent.basedir exist?
>
> I have browsed through the documentation and the mailing list archive but
> didn't find an answer yet - sorry if I missed something.
>
> Many thanks in advance,
> Fuad
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004


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

Reply via email to