For use w/ Netbeans 7.2.1, if the web.xml is not present, then it assumes the project is a JavaEE 6 project and won't let me deploy to Tomcat 6. However, my project is a JavaEE 5 project.
Also I have some customizations that I tell Enunciate to "Merge" with the final web.xml. Since I need the web.xml for Netbeans to correctly detect my JavaEE version, I also included all my customization settings in that file and tell enunciate to merge it thus killing 2 birds w/ one xml file. I just needed a way to tell maven-war-plugin to not use it. I found that <warSourceExcludes>**/web.xml</warSourceExcludes> does work to exclude the src/main/webapp/WEB-INF/web.xml file so I've been using that. I guess I missed the nuance between warSourceExcludes and packagingExcludes. Thanks! On Wed, Oct 31, 2012 at 12:04 AM, Barrie Treloar <[email protected]> wrote: > On Wed, Oct 31, 2012 at 4:24 PM, Barrie Treloar <[email protected]> > wrote: > > > > > 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. > >> > > > Have you also looked at http://enunciate.codehaus.org/user_guide.html and > configured it correctly? > > If enunciate is generating a file, why are you providing on in > src/main/webapp/WEB-INF/web.xml? > -- Jeff Vincent [email protected] See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox <http://db.tt/9O6LfBX> !!
