IntelliJ IDEA
provides Maven-specific form of run/debug configuration. When a Maven
project is imported, each goal gets its own configuration, with the pre-defined name, project file,
profiles, goals, and other settings.
You can save such configuration for future reuse, or create your own ones. When a configuration is
created,
it is added to the list of permanent configurations and becomes available from the drop-down list on the
main toolbar:

In general, working with run/debug configurations follows the same procedure as described in the section
Creating and Editing Run/Debug Configurations. This section provides a shortcut procedure, specially
tailored for Maven integration.