It's not Maven that can't find it. I'm building and running the app in our CD pipeline and in ... <cough>netbeans<cough>. It is only an issue when attempting to run/debug within the eclipse environment.
The generated web.xml makes it into the WAR as well as the exploded war folder in the maven target directory. The issue is that it seems Eclipse is not using the web.xml in the final assembly when debugging/running but instead is using the web.xml from the src/main/webapp/WEB-INF folder. I'm hoping there is a way to tell Eclipse to use it in favor of the src version. On Thu, Nov 1, 2012 at 10:16 AM, Greg Thomas <[email protected]>wrote: > On 1 November 2012 16:05, Jeff <[email protected]> wrote: > > Does anyone use Eclipse Indigo + Maven and Enunciate? If so, are you > able > > to run/debug the web app? > > > > I recently retrofitted Enunciate into a project and Eclipse doesn't seem > to > > recognize the web.xml file that Enunciate generates as part of the Maven > > build and so the service won't load. > > > > Anyone know how to get around this? > > I've never used (or indeed heard of!) Enunciate. However, I suspect > you'll need to tell Maven where the new web.xml can be found; > something like ... > > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <version>2.3</version> > <configuration> > > <webXml>${project.build.directory}/enunciate-generated-web.xml</webXml> > </configuration> > </plugin> > </plugins> > </build> > > might do it. > > Greg > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > -- Jeff Vincent [email protected] See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox <http://db.tt/9O6LfBX> !!
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
