Maven has an eclipse plugin that would create eclipse configuration for a WTP web application.
Let's imagine that you have created a web application in maven and now you want to work with it using Eclipse. You would do something like this: mvn -Dwtpversion=1.0 eclipse:eclipse Now, you open Eclipse, create a server (for example a Tomcat server), open the project and publish it to the server you have just defined. The publishing part I believe is wrong. WTP plugin starts assembling the application for you which does not make any sense for me. It will create a folder workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/ROOT and will copy your src/main/webapp into it. Then it will populate the WEB-INF/lib folder with your dependencies, and finally will copy your compiled classes under WEB-INF/classes. Though this might work for you, it is definitely not the right approach. It is not WTP plugin which should assemble the application. Maven already creates the application in target/webapp This is the folder that needs to be published. -- View this message in context: http://www.nabble.com/eclipse%2C-wtp%2C-maven-and-web-apps-t1725424.html#a4738255 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]