0

When I want to run mvn install on a project, it requires 3 clicks: rightlick project > run as > mvn install.

Isn't it possible to show a button in eclipse toolbar at the top the performs a mvn install on the currently selected project?

membersound
  • 81,582
  • 193
  • 585
  • 1,120

1 Answers1

2

You can probably configure a Keyboard shortcut for this.

In eclipse go to Window -> Preference. From the left pane go to General-> keys Find out the Run Maven Install, Edit a keyboard configuration in the Binding field that suits for you.

Hopes this helps.

ѕтƒ
  • 3,547
  • 10
  • 47
  • 78
  • What should I enter in the `When` field? I'd like to just select the project in project view and then when hitting the keystroke it should be installed. – membersound Jun 27 '14 at 12:35
  • And furthermore: how can I bind a key to a custom maven command. Because, I'd mainly like to skip test during mvn install, but the `run maven install` shortcut would include testing. – membersound Jun 27 '14 at 12:37