Profile-Based Naming

2009-12-07 Thread Neil Chaudhuri
I am using Maven profiles to generate my primary build artifact--a war file-for two different environments. I would like to have this war file be named differently based on the profile run. For example, I would like the "dev" profile to produce myapp-dev.war and the "prod" profile to produce myapp-

Re: Profile-Based Naming

2009-12-07 Thread Wayne Fay
> be named differently based on the profile run. For example, I would like > the "dev" profile to produce myapp-dev.war and the "prod" profile to > produce myapp-prod.war. You can use for this. Note that can also work but it only affects the file name in /target -- the artifact installed to you