Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353699

Summary: Missing webapp features when importing "Existing Maven Projects", incorrect auto-generate .classpath file?
Product: z_Archived Reporter: dzmonkey
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description dzmonkey CLA 2011-08-03 03:49:00 EDT
Build Identifier: 20110615-0604

On the Eclipse3.7-indigo-WTP version, with m2e plugin. When I checked a clean "webapp" maven project(only "src" and "pom") out from SVN, and used "Import->Maven->Existing Maven Projects" to import the maven project into my workspace(convert it to eclipse project at the same time),but the eclipse project didn't have any webapp features, eg: No "Run As->Run On Server" displayed, and the auto-generate .classpath and .project file was also different as normal webapp project, why?

ps: I test this on Eclipse-3.5-Galieo-WTP version(with m2eclipse plugin), everything was correct!
And another test is, when I used "mvn eclipse:eclipse" to generate eclipse project in console, everything was correct although .classpath and .project file also were different a little. 

Reproducible: Always

Steps to Reproduce:
1.checked a clean "webapp" maven project(only "src" and "pom") out from SVN
2.Import->Maven->Existing Maven Projects 
3.No "Run As->Run On Server" displayed
Comment 1 Igor Fedorenko CLA 2011-08-03 04:33:40 EDT
m2e does not provide out-of-the-box wtp integration. There is m2e-wtp available from m2e marketplace, but this is not part of m2e project and all problems should be reported to https://issues.sonatype.org/browse/MECLIPSEWTP.
Comment 2 Denis Roy CLA 2021-04-19 13:24:37 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/