I would like to have two different web.xml
descriptor files in my maven project. First (default) should be included in war file for deployment to application server and second should be used for development using tomcat7-maven-plugin:run
. I know there is <tomcatWebXml>
parameter but it specifies Tomcat global web.xml
which I don't want to change.
For jetty-maven-plugin:run
I can specify either <webApp>/<descriptor>
or <webApp>/<overrideDescriptor>
. First replaces default web.xml
with specified file while second applies specified file content in addition to default web.xml
.
Is there some possibility how to achieve same functionality with tomcat7-maven-plugin
?