i ended up using the solution proposed here:
http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/[EMAIL
PROTECTED]
where every profile defines a finalName property.
if there're are better (whatever it means) approaches, please comment !
thanks,
valerio
On 10/31/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
hello everyone,
given the element
<finalName>myapp-${...}</finalName>
and given that i have few profiles which I activate through command-line
system properties, is it possible to use the id of the active profile as
part of the final name ?
if for exampel i have:
mvn -Ddbms=postgres package -----> myapp-postgres.war
i tried with ${profile.id} but i get null values..
or maybe there's a mean to use the maven-help-plugin..but i've no idea on
how to do that.
thanks,
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni