O'Reilly logo

IntelliJ IDEA Essentials by Jarosław Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running Maven goals

In IntelliJ IDEA, you can run specific Maven goals in two ways: either by creating the run/debug configuration or running it directly from the Maven tool window. To run the selected goal, expand the Lifecycle branch in the Maven tool window and choose Run Maven Build from the context menu, as shown in the following screenshot:

Running Maven goals

If you choose Create from the context menu, the permanent run configuration to run this goal will be produced. The Create Run/Debug configuration will show up, allowing you to tweak the parameters of the newly created run configuration.

Tip

Basically, you need to create a permanent run configuration for a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required