How to add my own maven command on the main toolbar

Hi,

I've found the opportunity of adding signle maven command (like clean, deploy, etc) on the main toolbar. I would like to add more complicated one, for example: clean install tomcat:redeploy (this command is added in my run/debug configuration). Is it possible?

I'm using IntelliJ v12.0.3.

Regards
Marcin.

2 comments

Can you create an External Tool that does what you want?
File - Settings - External Tools

Once you have done that you can then add it to the Toolbar.

0

Thank you very much. This is it, what I was looking for.

Regards
Marcin

0

Please sign in to leave a comment.