Thanks for the tip. I've run into the same problem but didn't go through the trouble to find the cause.
On 2/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I've had success using mvn eclipse:eclipse -Dwtpversion=1.5 (without the m2-plugin though because of proxy problems) But I had to make some changes in my repository as maven would not pick up the latest eclipse plugin. In the maven-metadata-central.xml for maven-eclipse-plugin I had to add <version>2.3</version> Probably not the best-case way to do it, but it solved my problem of not having wtpversion=1.5 as an option. -----"Richard Gill" <[EMAIL PROTECTED]> wrote: ----- To: [email protected] From: "Richard Gill" <[EMAIL PROTECTED]> Date: 02/22/2007 01:38AM Subject: Re: [m2eclipse-user] m2eclipse and WTP - running on Tomcat 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 --------------------------------------------------------------------- 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
