It would be great if (similarly to ant based projects) one could map keyboard shortcuts to the execution of standard or
custom maven goals. Currently, only the standard actions (build, run, whatever) have shortcuts mapped to them.
In my current setup, in the absense of the ability to copy over resources whenever I change the resource files from
main/resources, i want to be able to tap a button to execute a 'custom' maven goal that would copy out the resources to
the deployment directory. Currently, I have to right click on the project, Custom->FooGoal (total of three clicks) in
order to execute an action that I need to do quite often.
Be careful; there are many unresolved issues with how Ant shortcuts work. Probably we should have a unified GUI, as we
did for the Stop and Rerun actions.
*** Issue 154499 has been marked as a duplicate of this issue. ***
*** Issue 170359 has been marked as a duplicate of this issue. ***
Reassigning to default owner.
*** Bug 187242 has been marked as a duplicate of this bug. ***
I am using http://code.google.com/p/maven-android-plugin/ to build Android under Netbeans. One major feature I'm missing is the ability to map F6 to the custom goal for deploying to device.
Jesse, could you elaborate on what you meant by a unified GUI? How would it help with our use-cases?
Will be great, clicking by mouse if you have many opened projects is not a best way.
Is this issue being considered for Netbeans 7.3?
in 7.4 global custom actions can be associated with an action/toolbar icon. No association is made with keyboard shortcuts but one can do that manually after the toolbar action is created.
Only 6 custom maven actions can be added to toolbar.
What I prefer is a shortcut to open a little dialog with a list of all goals or only the custom goals, with a search, if the list is to long. So we can find the right goal, select it and run it. For now, I have to select the project, do a right click, go to custom and execute the goal.
A little dialog would be handy, in my opinion.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.
Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Still relevant in dev build 201607060002.
Also, to clarify, I am looking for keyboard shortcuts in order to repeat common operations. Providing a dialog wouldn't help in my case because it gets in the way of quick execution.