Running Maven

Contextual Menu

Maven can be run directly from the contextual menu of any IContainer (Screenshot 1) or any project.xml file. When triggered a dialog pops up to let the user choose goals and options.



Screenshot 1 Project contextual menu

Launch Wizard

The wizard dialog (Screenshot 2) allows you to pick options that are relevant in the context of the IDE (that means for instance that -b, -h, -p options, among others, are not accessible). System properties can be specified using the 'Add' button.

The Text widget at the bottom of the wizard page is writable and goals to run are to be passed in there. Alternatively The 'Choose' button can be used to graphically pick goals.



Screenshot 2 Launch wizard dialog

Goals Picker

Mevenide provides an interface to graphically choose the goals to be run (Screenshot 3). Once chosen, they can be ordered by clicking the Goals Order button.

If basedir can be resolved (which obviously is the case when the wizard is triggered from contextual menus), then the dialog displays both custom and global defined goals.



Screenshot 3 Goals Picker Dialog


Launch Shortcut

Mevenide launcher is integrated with the Eclipse External Tools and the "Run As> Maven Project" command silently invokes the default Maven goals that have been specified in the Run preferences page in the context of the selected Project.



Screenshot 4 QuickLaunch Command

Maven Console

Mevenide doesnot provide yet an integrated Maven Console, however Maven Console can still be used thanks the Eclipse Debug Console as shown on Screenshot 5 below.



Screenshot 5 Running Maven Console