IntelliJ IDEA 2017.2 Help

Maven. Runner

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

Run in backgroundCheck this option to perform run as a background task.
VM OptionsSpecify VM options that will be passed to the selected JRE.

When specifying the 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 the spaces in double quotes, for example, some" "arg or "some arg".
  • If an option includes double quotes (e.g. as part of the argument), escape the double quotes by means of the backslashes, for example, -Dmy.prop=\"quoted_value\".
JRESelect the JRE that will be used to run the Maven goals.
Environment variablesThis field lets you set custom environment variables on the project level for running maven goals. Click the Browse button browseButton.png to open the Environment Variables dialog box, where you can create variables and specify their values.
PropertiesSpecify the properties and their values to be passed to Maven.
/help/img/idea/2017.2/new.png or Alt+InsertUse this icon or shortcut to define a new property as a name - value pair.
/help/img/idea/2017.2/edit1.png or EnterUse this icon or shortcut to change the selected property.
/help/img/idea/2017.2/delete.png or Alt+DeleteUse this icon or shortcut to remove the selected properties from the list.
Skip testsCheck this option to skip performing unit tests. This corresponds to the Maven option -Dmaven.test.skip=true
Last modified: 11 October 2017

See Also