Barry,
- make sure you've installed the WTP integration module of m2e. It'll make the Maven Library deployable in WEB-INF/lib
- disable automatic running of maven-eclipse-plugin, it's incompatible with m2e
regards,
Fred Bricon
On Sun, Oct 4, 2009 at 6:43 AM, gotobarry
<gotobarry@...> wrote:
Hi,
My issue is with the deployment of my webapp to Tomcat when Tomcat is used
in the Eclipse IDE. I am using mvn:eclipse:m2eclipse which puts the
dependencies into BuildPath nicely for my project. I am using mvn package to
create a deployable war which works nicely when I deploy to the external
instance of Tomcat.
The problem occurs when I deploy to the eclipse instance of tomcat, which is
a separate instance. I have added the project to Tomcat using the eclipse
ide, The project appears added correctly under:
~/myproject/myworkspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/
However there is no war deployed there. The deployment looks like the
exploded war except it is missing the lib directory with dependent jars. I
have worked around this my manually adding the Jars to the Tomcat classpath
in Eclipse. But that's a hack.
Why is the WebApp/lib directory not copied to the tomcat webapp deploy
directory? How can I resolve this?
Thanks
Barry
--
View this message in context: http://www.nabble.com/mv-eclipse-wtp%2C-tomcat-classpath-not-created-automatically-tp25734850p25734850.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email