On Wed, Oct 31, 2012 at 3:55 PM, Jeff <[email protected]> wrote: > I'm using Enunciate to do some awesome wizardry with my web services, but I > have a problem when src/main/webapp/WEB-INF/web.xml is in my project since > it seems the enunciate-generated file gets overwritten by the > maven-war-plugin. > > However, I am unable to exclude the web.xml using packagingExcludes option. > I've tried: > > <packagingExcludes>WEB-INF/web.xml</packagingExcludes> > <packagingExcludes>src/main/webapp/WEB-INF/web.xml</packagingExcludes> > <packagingExcludes>**/web.xml</packagingExcludes> > > but it still gets copied. What am I missing? > > -- >
I'm only guessing since I don't use this plugin. Have you tried running with -X and wading through the output to see if its selecting something incorrectly? Alternatively you could try some hackery: Set http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#failOnMissingWebXmlto false. Set http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webXmlto a non-existent file.
