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.