Folks,
If you would like to see transparent integration between Maven and
WTP, please consider to comment on the WTP enhancement request 128851 at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=128851
WTP team is working on some support for WTP 2.0, but they choose to
prioritize on manual management of web applications and planned approach
don't completely allow to inherit configuration from the pom.xml
So, if you also think that WTP should allow automatically picking up
configuration from external metadata (such as pom.xml), please raise
your voice now before it is too late.
Thanks
Eugene
[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: user@m2eclipse.codehaus.org
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
------------------------------------------------------------------------
If this email is spam, report it here:
http://www.OnlyMyEmail.com/ReportSpam
<http://www.OnlyMyEmail.com/reportSpam?Id=NjAxNzA6MjYxMzI5Mzk4OmV1QG1kLnBwLnJ1>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email