Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 939
deamon Avatar asked Aug 05 '10 09:08

deamon


People also ask

Where to run mvn clean install in NetBeans?

To achieve your requirement as mvn clean install -Pjnlp is simply just right click at the project and select Clean and Build . The Clean and Build calls mvn clean install together with the activate profile. I hope this may help. Alternatively, the project's popup menu has the Custom > Goals...

Can I use Maven in NetBeans?

Creating a Maven Based NetBeans Platform Application Project. In this section you use the New Project wizard to create a NetBeans Platform Application from a Maven archetype. The wizard creates the Maven module projects that you need to develop an application on the NetBeans Platform.


1 Answers

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.

like image 81
mort Avatar answered Oct 15 '22 02:10

mort