Search code examples
eclipsemavenjarpublish

Automatically publishing maven project from eclipse doens't publish maven dependencies


These are the steps I followed:

  1. Created a maven project in eclipse.
  2. Converted the project into faceted form.
  3. Added the project to the server.

Now whenever I make any changes to my project resources, it gets reflected in server. But my WEB-INF/lib directory doesn't contain any maven dependency jar files.

How to fix this?


Solution

  • I installed m2e integration for WTP and now it is copying the maven dependecies jars into WEB-INF/lib of the server installed apps directory.