Make your configuration file a filtered resource:
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

Kalle

On 1/3/08, Fred Zhang <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> Sometimes I need to use maven project properties, e.g. ${project.version}
> etc in some configuration files (not pom.xml or settings.xml). For
> example, when I build an ear file with the name "EAR-${project.version}.ear",
> I need to use this ear name in some configuration file for JNDI-lookup.
>
> But how can I use the maven property ${project.version} in configuration
> files? Is there any plug-in that can make the job done?
>
> Thanks in advance!
>
> Fred Zhang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to