Trevor Harmon wrote:
plugins are discovered dynamically and often may not even require special configuration, so if will really clutter popup menu if we add all possible goals in there.
Yes, but the list would still be a tiny fraction of the one in the Run As > Maven build... > Select dialog box. Also, it needn't be a linear list but rather organized hierarchically by plugin, e.g.:

docbkx
     generate-html
     generate-pdf
 For this you also going to see the following goals:
 sdocbook
 sdocbook:info
 sdocbook:generate-htmlchunk
 sdocbook:generate-fo
jar
     jar
     test-jar
     sign
     sign-verify
source
     aggregate
     jar
     test-jar
Configs for jar and source plugins are often omitted, so there won't be a reference point in the pom.

Anyways, if someone want to contribute a patch for this we will consider it.

Though I am not sure we can contribute multiple levels of menus under "Run as..." menu and from UI usability point of view more then 2 level menus are really hard to navigate, so special view would be easier to work with.

Also, it may not be obvious, but you can use "Run as... / Maven build" (Ctrl-Shift-X, M) shortcut to quickly launch custom goals on selected project (you can also remap shortcut to your own preferences in Window / Preferences / General / Keys). That action remembers created configurations and if there is more then one it will show you selection dialog, so it work ok without mouse.
That's nice, but it still requires manual setup of the configurations. I wish it were more automated.
All launch configurations allow to share them with your team, so it need to be done just once.

Anyways, please consider voting and comment on jira issues related to this:

MNGECLIPSE-351: allow to configure custom maven launch shortcuts
http://jira.codehaus.org/browse/MNGECLIPSE-351

MNGECLIPSE-683: Add a console with code completion to run maven
http://jira.codehaus.org/browse/MNGECLIPSE-683

 regards,
 Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to