You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by SHAILJA <sh...@gmail.com> on 2009/09/09 07:47:22 UTC
maven relativepath in parent tag
Can we have absolute path or environment variable in relativePath tag in
parent tag, while inheriting pom.xml.
I tried like giving
---
/a/b/c/d
---
and
---
${env.DIR}/c/d
---
envirornment variable is set
DIR /a/b
in both upper cases relative path is not resolved, and parent pom.xml file
is not recognised by maven.
I don't want to give
../../a/b/c/d ( is maven knows this kind of relativePath only ?)
Do we have some solution for this ?
Please let me know at the earliest. :)
--
View this message in context: http://www.nabble.com/maven-relativepath-in-parent-tag-tp25358935p25358935.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Re: maven relativepath in parent tag
Posted by Stephen Connolly <st...@gmail.com>.
relativePath must contain a relative path
On Wednesday, September 9, 2009, SHAILJA <sh...@gmail.com> wrote:
>
> Can we have absolute path or environment variable in relativePath tag in
> parent tag, while inheriting pom.xml.
>
> I tried like giving
>
> ---
> /a/b/c/d
> ---
>
>
> and
>
>
> ---
> ${env.DIR}/c/d
> ---
>
>
> envirornment variable is set
> DIR /a/b
> in both upper cases relative path is not resolved, and parent pom.xml file
> is not recognised by maven.
> I don't want to give
> ../../a/b/c/d ( is maven knows this kind of relativePath only ?)
>
> Do we have some solution for this ?
> Please let me know at the earliest. :)
>
>
>
> --
> View this message in context: http://www.nabble.com/maven-relativepath-in-parent-tag-tp25358935p25358935.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org