Hi, I'm new to M2 and I use Eclipse 3.2 WTP, Maven 2.0.7 and the latest maven plugin for eclipse. I use the server integration in Eclipse to test my webapp and I set the dependency in my pom.xml. For example, I develop a Tapestry webapp so I added the tapestry-core-5.0.6 dependency in the pom.xml .
The build is done normally but when I start the server, the libraries defined in the pom.xml are not copyed in the Tomcat instance managed by Eclipse WTP. I tried all the different scope and none of them deploy the libs. I tried also to specify in Eclipse the Maven dependency should be Export (Project/Build Path/Order Export/check the boxes). For the scope "system" I tried to specifyed the absolute path where I would like to have my libraries (WEB-INF/lib) but it is finally not the goal of this scope since it is just to refer a system library needed. A solution is to copy the lib I need in my webaap/WEB-INF/lib but then M2 would be useless in this case. So, what did I miss? Thanks -- Michael Bernagou Java Developper
