Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338497 - Trigger the lifecycle mapping search from scm import
Summary: Trigger the lifecycle mapping search from scm import
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthew Piggott CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 21:42 EST by Pascal Rapicault CLA
Modified: 2021-04-19 13:24 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-02-28 21:42:29 EST
Import from "existing maven project" triggers the search for lifecycle mapping, however it is not triggered when I import a project directly from the SCM, or when I create a new project using the archetype.
Comment 1 Igor Fedorenko CLA 2011-02-28 22:30:52 EST
This is a subtask of bug 335701, I just did not want to mess with all wizards at once ;-)

For archetypes, we'll likely have to execute project generation as part of the wizard... which is not exactly pretty GUI and requires relatively serious refactoring of project import manager... which I think is a good thing.
Comment 2 Milos Kleint CLA 2011-03-01 03:17:01 EST
it starts taking an ugly turn. There was never mentioned that we want to do this ever (not to mention this iteration).  And it's more or less proof that the original idea of having the stuff part of the wizards is wrong! 

Creating anything before the wizard finishes is a big no-no and I'm opposed to this change.

We probably should get away without *any* wizard changes for this iteration/milestone and have the whole error recovery process re-thought from the ground
Comment 3 Igor Fedorenko CLA 2011-03-01 09:00:08 EST
This is how import from scm wizards work already, they do checkout first, then do maven import after checkout has completed. But I agree with scheduling concerns, lets figure out import existing maven projects first, lets not worry about other wizards for now.
Comment 4 Igor Fedorenko CLA 2011-03-14 11:23:28 EDT
Lets keep this bug for import existing projects from scm and discuss issues regarding creating new projects from archetypes in Bug 339906.
Comment 5 Matthew Piggott CLA 2011-03-14 14:49:44 EDT
I have a patch for this, it turned out to be fairly simple, I will push it after we tag for M6
Comment 7 Denis Roy CLA 2021-04-19 13:24:47 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/