Kalle, Thanks a lot!
-邮件原件-
发件人: Kalle Korhonen [mailto:[EMAIL PROTECTED]
发送时间: 2008年1月7日 11:47
收件人: Maven Users List
主题: Re: how to use maven project properties in other configuration files?
On 1/6/08, Fred Zhang <[EMAIL PROTECTED]> wrote:
>
> My project is a multi-module p
at the parent is
driving setting the properties and both ear and war are using them.
Kalle
-Original message---
> From: Kalle Korhonen [mailto:[EMAIL PROTECTED]
> Sent: Jan.04.2008 16:31
> To: Maven Users List
> Subject: Re: how to use maven project properties in other config
module or from
the project root pom in maven?
Best Regards
Fred Zhang
-Original message---
From: Kalle Korhonen [mailto:[EMAIL PROTECTED]
Sent: Jan.04.2008 16:31
To: Maven Users List
Subject: Re: how to use maven project properties in other configuration files?
Make your configuration
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 configuratio
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-loo