You can use this plugin
http://maven.apache.org/plugins/maven-eclipse-plugin/
A recent snapshot of the next release supports wtp 1.5
But you'll have to disable the m2eclipse plugin for your project to avoid
conflicts (you can continue to use the 'add dependency' feature and the
external tool integration)

Arnaud

On 2/20/07, Nikola Milutinovic <[EMAIL PROTECTED]> wrote:

Hi all.

I've run into an issue that could have been present in earlier versions.

M2Eclipse works OK, no problem there. I have created a Dynamic Web Project
in Eclipse 3.2.1 + WTP 1.5.2. I have, then, created POM and enabled Maven2
aspect of the project. Everything compiles, no problem there.

Problem comes when I want to deploy the project on Tomcat (or any other
server, I suspect). What appears to happen, is that Maven2 dependencies do
not get into WEB-INF/lib directory of the deployment in Eclipse.

Building from either standalone Maven2 or from m2eclipse yields a correct
WAR.

I would like to be able to deploy a web application directly from Eclipse,
since it eases my development efforts.

Any advice?

Nix.






____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to