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

Bug 365040

Summary: m2e removes Spring project nature and builder
Product: z_Archived Reporter: Dave Syer <david_syer>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Dave Syer CLA 2011-11-29 06:20:21 EST
When you do a project right click and "Maven->Update Project Configuration" the Spring project nature and builder are removed from .project (and others for all I know, but that's the most irritating one).

I found an oldish discussion about this which implied that this was fixed, but it still happens for mw with 1.0.100 (STS 2.8.0): http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00733.html.  I worked around it by adding the m-e-p configuration as suggested by the OP in the discussion forum, but since that allegedly is *not* supported by m2e, I figure this needs to be looked at again.
Comment 1 Igor Fedorenko CLA 2011-11-29 08:16:03 EST
I just checked m2e 1.1M3 and it does not remove custom natures and I believe 1.0.x does not do this either. I suspect the behaviour you observe is specific to STS, but we am not able to troubleshoot custom thirdparty eclipse distributions.
Comment 2 Denis Roy CLA 2021-04-19 13:26:36 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/