Stian,

There is an action called "Run as... / Maven build" and when you select it for the first time it it will open Maven launch configuration dialog where you can specify any goals you want to invoke. Next time it will just invoke that Maven configuration without asking additional question. The same action can be invoked using Alt-Shift-X, M shortcut (it can be remapped in keyboard preferences).

 regards,
 Eugene

Stian Soiland-Reyes wrote:
Hi!

If I right click on a project I can do Run as -> Maven clean or Run as
-> Maven install.

However, most of the time I would like to do clean AND install (mvn
clean install on the command line) - currently I have to wait for
clean to finish before I can click again and do Maven install.  It
would help if the "clean" would block so an "install" don't run at the
same time (then at least I could do both menu choices in succession),
but it doesn't seem to be that way now.

As I do clean install on several projects (due to often refactoring
and cvs updates many classes can move around) I don't find it feasible
to create a new Maven build for each and every project - so I wondered
if it's possible to change the set of goals listed in this menu? For
instance, I never use Maven generate-sources or Maven source:jar. I
could not find anything in the Maven section under Properties to
change this set of actions/goals - is it predetermined by the plugin?




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to