Hi,

> This works for all situations although we mainly use it to include build
> information on our demo web apps.
>
> Create a properties file e.g. build.properties where any build variable
> properties can be accessed by the java/jstl etc. Have your maven.xml build
> update this file using the ant <propertyfile> task. e.g.
>
>     <propertyfile file="${project.build.properties}" comment="Updated by
> MAVEN build">
>       <entry key="build.number" value="${project.build.label}"/>
>       <entry key="build.date" type="date" value="now" pattern="dd/MM/yyyy
> HH:mm"/>
>       <entry key="version" value="${pom.currentVersion}"/>
>     </propertyfile>

This does exactly what we needed - thanks!

Regards,
Graham
--


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to