IntelliJ IDEA 14.0.0 Web Help

Executing Maven Goal

There are two ways to execute a Maven goal:

Results are displayed in the console of the Run tool window.

To build a lifecycle phase or a plugin

  1. Select the desired node in the Maven Projects tool window.
  2. Choose Run Goal on the context menu of the selection.

To run a maven goal as an application, do one of the following

  • Perform the regular procedure, as described in the section Running Applications.
  • Perform the shortcut procedure, which uses a Maven-specific run/debug configuration for each goal:

    Select the desired node in the Maven Projects tool window, and choose Run <goal>[run/debug configuration] on the context menu, or press Ctrl+Shift+F10.

See Also

Last modified: 12 November 2014
comments powered by Disqus