用于在NetBeans中运行Maven目标的按钮 [英] Buttons to run Maven targets in NetBeans
本文介绍了用于在NetBeans中运行Maven目标的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望在NetBeans 6.9中有一个按钮来运行(自定义)Maven目标。热键也不错。这可能吗?
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?
如果不可能:是否有类似控制台的东西我可以直接使用Maven命令?
If it is not possible: is there something like a console where I could Maven commands directly?
推荐答案
在NetBeans 6.9中:
右键单击项目 - >自定义 - >目标。请务必选中记住为:。您可以通过右键单击项目 - >自定义 - >myRememberAsName来运行此操作
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.
这篇关于用于在NetBeans中运行Maven目标的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文