When doing a mvn install I want to end up with 2 WAR files in my target directory. One will contain the production web.xml and the
mvn install
web.xml
I'd generally suggest to use profiles and run two dedicated builds. However, it should be possible to create any number of artifacts using the maven-assembly-plugin.