[webstart] Getting maven variables in jnlp file
-----------------------------------------------

         Key: MOJO-284
         URL: http://jira.codehaus.org/browse/MOJO-284
     Project: Mojo
        Type: Improvement

  Components: sandbox  
    Reporter: Hes Siemelink
    Priority: Minor


I would like to put the version number of our application in the JNLP file.

Is it possible to reference Maven variables from the velocity template? I would 
like to do something like


<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="$$codebase">
...
  <resources>
    <property name="version" value="${project.version }"/>
  </resources>
...
</jnlp>

or 

    <property name="version" value="${maven.project.version }"/>

It would be great if this was possible! 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to