You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bram de Kruijff <br...@gx.nl> on 2006/07/27 14:05:18 UTC

POM variable reference?

Hi,

can anyone direct me to a reference/tutorial on build-in parameters? I'm
hoping to find out how I can reference the root basedir of a
multiproject build. Didn't find it on the Maven site, Google or the
Better builds.. book :(

regards,
Bram

--
Bram de Kruijff
<GX> creative online development B.V.
 
t: 024 - 3888 261
f: 024 - 3888 621
e: bramk@gx.nl
 
Wijchenseweg 111
6538 SW Nijmegen
http://www.gx.nl/ 

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


Re: POM variable reference?

Posted by Toli Kuznets <to...@marketcetera.com>.
Bram,

This may be helpful:
1. Reference for the POM:
http://maven.apache.org/ref/current/maven-model/maven.html
If you scroll past the .xsd file, you'll see the description of all
XML elements.

2. for each variable, you can usually access it using
${project.varname} so maybe you can get to ${project.basedir} to get
your root basedir, for example.

hope this helps.

On 7/27/06, Bram de Kruijff <br...@gx.nl> wrote:
> Hi,
>
> can anyone direct me to a reference/tutorial on build-in parameters? I'm
> hoping to find out how I can reference the root basedir of a
> multiproject build. Didn't find it on the Maven site, Google or the
> Better builds.. book :(
>
> regards,
> Bram
>
> --
> Bram de Kruijff
> <GX> creative online development B.V.
>
> t: 024 - 3888 261
> f: 024 - 3888 621
> e: bramk@gx.nl
>
> Wijchenseweg 111
> 6538 SW Nijmegen
> http://www.gx.nl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.

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