This is a common problem that we all face.
It has been discussed ad nauseum in the forum so I wrote these articles.
I hope that they help.
http://blog.artifact-software.com/tech/?p=150
http://blog.artifact-software.com/tech/?p=58
On 03/08/2012 4:09 PM, Anders Hammar wrote:
@Doug What you sai
> @Doug What you said is exactly what I'm talking about. I WANT to externalize
> my configuration, and am almost set up to have it
> completely external. My problem has been figuring out how to get the external
> properties back into the WAR. For this, I'll check
> how powerful these overlays tha
@Ron I see what you're saying, but I don't think I'm asking much here. I'm
trying to follow best practice for graduating WARs between environments, and
I've assumed Maven will be helpful. If that assumption is bad, it's Maven's
fault!
@Matt I will check these "overlays". I think that the beginn
>
>true
>
>
> your.group
> generic-war
> war
>
>
> Two overlays cause you probably don't want to be filtering binary files.
>
> Matt
>
> > -----Original Message--
---
> From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
> Sent: Friday, August 03, 2012 10:16 AM
> To: users@maven.apache.org
> Subject: Re: Can Maven edit a WAR?
>
> On 03/08/2012 12:04 PM, Jared Hall wrote:
> > I would like to be able to modify the contents of a WAR file.
On 03/08/2012 12:04 PM, Jared Hall wrote:
I would like to be able to modify the contents of a WAR file.
Goal: I would like to be in a directory with my WAR and a pom.xml. When I type
'maven configure', I would like maven to apply a filter to some of the files in
the war, and then leave behind