Buttons to run Maven targets in NetBeans
问题 I'd like to have a button to run (custom) Maven targets in NetBeans 6.9. Hot-keys would also be nice. Is this possible? If it is not possible: is there something like a console where I could Maven commands directly? 回答1: In NetBeans 6.9: Right-click on the project -> Custom -> Goals. Make sure to check "Remember as: ". You can run this by Right-click on the project -> Custom -> "myRememberAsName" I don't know if there is an easy way to assign this to a button or a short cut. 回答2: Instead of