Nix,

Try running mvn eclipse:clean and then mvn eclipse:eclipse
-Dwtpversion=1.5 (or 1).
I've had uneven luck running the above but this should get you close.

Note : you might have to disable/re-enable the M2 eclipse plugin to
get it to recognize the dependencies

Richard

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



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

   http://xircles.codehaus.org/manage_email

Reply via email to