Search code examples
pluginsintellij-ideamaven-plugin-development

Can I add the button to the part of idea's plugin (maven plugin)?


My goal is to create a plugin that will build maven project with some custom settings. Can i, for example, choose a couple of goal and press my button to build the maven project with my settings?

Сan I add button here? .

If it is not possible can i add this action to right mouse button context menu or should i implement my own maven plugin? Maybe there is some other, more beuty way of doing this with actions or somehow?


Solution

  • Yes. You need to add a dependency on the Maven plugin and add your action to the Maven.NavigatorActionsToolbar action group.