We are currently switching over to Maven from Ant, so I hope my comments are too newbie-ish.
I like these ideas...especially #3. We have a hiearchy of libraries that are actually wars because we need to do jspc in order to test things completely. Also, we had been using xdoclet directly on the source code to generate the servlet mappings prior to using Maven, but now we don't have the source in each depending library/project, so we can't do that. So we need a solution to merge web.xml. I know xdoclet can insert servlet-mappings into an existing web.xml, so really, that is all a web.xml merger would have to do too. It would not have to be a fully text xml merger, just the relevant components, and you could configure which components of the web.xml you want to be merged and which you don't. Anyway, for now, does anyone have any ideas on how to merge the web.xml's? I have a couple of ideas, but neither make me very happy... 1) Make a copy of the web.xml that is dependency specific in the dependent project, and then do the merge myself once the overlay is done. This leaves an extra file in the war of the library though, which is messy. 2) Depend on the sources of my libraries so I can run xdoclet again over the whole webapp. -Ben Matt Raible-3 wrote: > > 1. Default - the way things are now, where dependencies aren't > inherited. This would allow backwards compatibility and not suprise > anyone. > > 2. Include Dependencies - excludes everything from WEB-INF/lib and > includes all dependencies - making them available to all plugins as > well (i.e. esp. IDEA, Eclipse and NetBeans). > > 3. Merge - has a way of allowing web.xml and other configuration files > to be merged. Of course, it'd need certain include and exclude > patterns. > > > -- View this message in context: http://www.nabble.com/War-plugin-overlays%3A-New-plugin-to-handle-transitive-dependencies-tf2612629s177.html#a8412448 Sent from the Maven Developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
