Doh! That worked. Thanks very much Kevin.

Kevin Stembridge wrote:
Hi Farrukh,

I think you have to use $project.version instead. i.e. remove the curly braces.

A single $ is what Velocity uses to define a variable.



On Wed, 2008-04-02 at 15:33 -0400, Farrukh Najmi wrote:
Dear colleagues,

I am not familiar with Velocity templates and how they integrate with pom.xml in webstart-maven-plugin.
I would like the codebase URL to contain the ${pom.version}.

I tried specifying the following in template but it did not get replaced:

codebase="http://acme.com:8080/myserver/${pom.version}/jnlp 
<http://acme.com:8080/myserver/$%7Bpom.version%7D/jnlp>"

What am I doing wrong? TIA for your help.



--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to