On 4/26/06, juju <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Is it possible to use a property of pom in xdoc file ?
>
> Pom
> ****
> <properties>
>   <my.value>Scratch</my.value>
> </properties>
>
> xDoc
> ****
> Hello $project.getProperties().get("my.value")
>
> I can to use that in a velocity template, but I would like to do that in a
> xdoc file.
>
> thanks.
> --
> View this message in context:
> http://www.nabble.com/-M2-xdoc-pom-properties-t1512658.html#a4104278
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

If the POM looked like this:

    <properties>
      <value>Scratch</value>
    </properties>

I think ${pom.properties.value} would work; however, the period in "my.value"
may be problematic.  I'm not totally sure though.

--
Jamie

Reply via email to