hi dileeph

Maven makes a special object (of class "MavenProject") available in the
context. When you write "${pom.name}", what happens behind the scenes is a
call to "theMavenProject.getName()" - therefor all the JavaBeans-style
properties of the MavenProject instance (each pom.xml creates one) are
available for you to use.

Maven translates your pom.xml into that MavenProject object - so basically
all the information you enter in your pom.xml (including the default values
you don't specify) are available. For example, if you specified a
"<description>" element, you can access it using "${pom.description}"!

Therefor the best reference to the available properties would be to simply
look at the source code of that class (see
http://svn.apache.org/viewcvs.cgi/maven/components/branches/maven-2.0.x/maven-project/src/main/java/org/apache/maven/project/MavenProject.java?rev=391163&view=markupfor
the latest current version) and look for javabeans-style properties
like
"getName()" or "getDescription()"

Hope this helps,
  Arik.

I don't think there's a comprehensive list of properties.

On 4/11/06, dileeph <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> Going through the Maven2 docs, I came across several properties like
> ${user.home}, ${pom.name} etc.
> Where can I find a list of all the available properties?
>
> Thanks&Regards,
> Dileep Hareendran
> --
> View this message in context:
> http://www.nabble.com/Where-can-I-find-list-of-properties--t1432052.html#a3862582
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to