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

Bug 343828

Summary: Specify parent in "Convert to Maven project" wizard
Product: z_Archived Reporter: Davy Meers <davymeers>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: igor, mkleint
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Davy Meers CLA 2011-04-26 07:51:40 EDT
I like the fact that i can easily convert an existing project to a Maven project (Using Configure > Convert to Maven Project) but i miss the option to specify a parent in the dialog.
Comment 1 Milos Kleint CLA 2011-04-26 07:59:54 EDT
the parent selection, along with other editing options is available in the pom editor.
Comment 2 Davy Meers CLA 2011-04-26 08:26:40 EDT
I know, and there are other ways that one can adapt a POM.

The reason why i started this enhancement request was because currently you need to do the following:

1) select "Convert to Maven Project"
2) enter information in resulting dialog
3) open POM
4) add additional information

It would be more convenient if it was more like:

1) select "Convert to Maven Project"
2) enter needed information
Comment 3 Milos Kleint CLA 2011-04-26 13:12:12 EDT
the problem is generally in the "needed information" definition scope. for you it's the parent definition, someone else might want to add a dependency. Or a plugin definition (because his project packaging is defined in the plugin).

The dialog itself is currently showing the bare minimum to get you started. The rest is too variable IMHO. And the editor is more suited (better, bigger) for complex operations than a series of wizard pages.

Not sure if we do or not, but a possible small improvement is to open the pom file editor automatically after conversion..

we've recently removed panels from other wizards, like new project one..
Comment 4 Davy Meers CLA 2011-04-26 14:18:54 EDT
I agree, it is not easy to decide were to draw the line.
A lot of information is very variable, but for me parent information is different (a parent POM is used, or it is not). 

Currently it isn't consistent with the new Maven Project wizard either:

in the "new Maven Project" wizard one can enter the parent information, but when he wants to convert an existing project he can't.

From a UX point of view it would be better if part of the "new Maven Project" wizard was reused: same information to enter, same controls, same layout.

Automatically opening the POM editor is indeed a small improvement.

Anyway, the current situation is not a problem for me, it just caught my eye while i was converting some dozens of projects, one after another. I merely see it as an enhancement.
Comment 5 Igor Fedorenko CLA 2013-09-28 23:28:39 EDT
closing old/stale bugreports
Comment 6 Denis Roy CLA 2021-04-19 13:23:32 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/