I found a gotcha with using the Eclipse Webtools Project to deploy my webapp after using the Maven Eclipse plugin. It's a bug with the Webtools Project, but I thought I'd let Maven users know, as it's possible to affect them.
As you may know, https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783 was fixed in WTP 1.0.1, allowing the eclipse plugin to specify dependencies in your Maven repository and have them deployed properly. However, there is one case where this won't work. The details are in this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=130141 I'll summarize here though. If you have the option selected to work directly against the server instead of from your workspace (i.e. your app is deployed to tomcat/webapps), and you do not have a "lib" directory in src/main/webapp/WEB-INF, then the jars will be deployed to the root of your webapp directory, instead of to WEB-INF/lib. The workaround is create a lib directory in src/main/webapp/WEB-INF. Please vote for the bug to help make Eclipse+Maven easier to use. Thanks. -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
