You can create your run configuration such that they apply for any
project.
In your "Base direcotory:" put ${project_loc}
Do this for all new Maven Build configs you want. ie: clean install,
clean deploy, clean site, etc...
This way, you can run this configs from any project.
---
Todd Thiessen
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Stian Soiland-Reyes
> Sent: Friday, January 30, 2009 10:48 AM
> To: [email protected]
> Subject: Re: [m2eclipse-user] How to do Maven clean install in one go?
>
> On Fri, Jan 30, 2009 at 15:39, Eugene Kuleshov <[email protected]> wrote:
> > 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).
>
> I tried that - but for each project it still popped up a new
> dialogue box forcing me to type in "clean install" manually -
> hence my question on how I can modify the defaults listed in the menu.
>
> You're right in that the second time for the *same project*
> it does seem to remember it.. so at least it helps me a tiny
> bit. Thanks!
>
> --
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email