# Maven. Runner

Use this page to configure settings for the external Maven that will be used to run goals.

| Item | Description |
| --- | --- |
| Delegate IDE build/run actions to Maven | Select this checkbox to build, run, and debug code through Maven. It might be helpful if you have a configuration that changes the compilation on the fly, or your build generates an artifact with a custom layout.   For more information, refer to [Maven projects](delegate-build-and-run-actions-to-maven.html#delegate_to_maven).     |
| VM Options | Specify VM options that will be passed to the selected JRE.     When specifying JVM options, follow these rules:       * Use spaces to separate individual options, for example, `-client -ea -Xmx1024m`.    * If an option includes spaces, enclose the spaces or the argument that contains spaces in double quotes, for example, `some" "arg` or `"some arg"`.    * If an option includes double quotes (as part of the argument), escape the double quotes using backslashes, for example, `-Dmy.prop=\"quoted_value\"`.    * You can pass environment variable values to custom Java properties. For example, if you define a variable `MY_ENV_VAR`, you can pass it to the `foo` property as follows: ``` -Dfoo=${MY_ENV_VAR} ```     |
| JRE | Select the [JRE](maven-support.html#maven_runner_jdk) that will be used to run the Maven goals. |
| Environment variables | This field lets you set custom environment variables on the project level for running maven goals.   Specify an environment variable, for example, `${env.JAVA_VERSION}` in the pom.xml of your project.     ![Environment variable in the pom.xml](https://resources.jetbrains.com.cn/help/img/idea/2026.2/env_var_pom.png)   Click Browse ![the Browse button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.general.ellipsis.svg) to open the Environment Variables dialog, where you can set a value for the specified environment variable. For example, `JAVA_VERSION=17`.      ![Environment Variables dialog](https://resources.jetbrains.com.cn/help/img/idea/2026.2/env_var_dialog.png)  |
| Properties | Specify the properties and their values to be passed to Maven. |
| ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) or `Alt+Insert` (Windows), `⌘ N` (macOS), `⌃ N` (IntelliJ IDEA Classic (macOS)), `⌘ N` (macOS System Shortcuts), `Alt+Insert` (XWin), `Alt+Insert` (GNOME), `Alt+Insert` (KDE), `Alt+Insert` (Emacs), `Ctrl+N` (Sublime Text), `⌘ N` (Sublime Text (macOS)), `Alt+Insert` (NetBeans), `Ctrl+N` (Visual Studio), `⌘ N` (Visual Studio (macOS)), `Alt+Insert` (Eclipse), `⌘ N` (Eclipse (macOS)) | Use this icon or shortcut to define a new property as a name - value pair. |
| ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.edit.svg) or `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) | Use this icon or shortcut to change the selected property. |
| ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.remove.svg) or `Alt+Delete` (Windows), `⌘ ⌦` (macOS), `⌘ ⌦` (IntelliJ IDEA Classic (macOS)), `⌘ ⌦` (macOS System Shortcuts), `Alt+Delete` (XWin), `Alt+Delete` (GNOME), `Alt+Delete` (KDE), `Alt+Delete` (Emacs), `Alt+Delete` (Sublime Text), `⌘ ⌦` (Sublime Text (macOS)), `Alt+Delete` (NetBeans), `Ctrl+R, D` (Visual Studio), `⌘ R, D` (Visual Studio (macOS)), `Alt+Delete` (Eclipse), `Alt+Delete` (Eclipse (macOS)) | Use this icon or shortcut to remove the selected properties from the list. |
| Skip tests | Check this option to skip performing unit tests. This corresponds to the Maven option `-DskipTests=true`.  |

## See also

### Procedures

[Maven](maven-support.html)

### Reference

[Maven tool window](maven-projects-tool-window.html)

### External Links

[http://maven.apache.org/maven-1.x/reference/command-line.html](http://maven.apache.org/maven-1.x/reference/command-line.html)

