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. 

Cheers,
Kevin








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";
> 
> What am I doing wrong? TIA for your help.
> 

Reply via email to