IntelliJ IDEA 13.1 Web Help

File | Settings | Maven

settings

You can configure Maven project settings at two levels:

  • For the current Maven project (File | Settings | Maven for Windows and Linux, IntelliJ IDEA | Preferences | Maven for Mac OS, or img in the Maven projects tool window).

    Settings for the current project take effect every time you click refresh.png on the toolbar of the Maven Projects tool window.

  • For a template project (File | Template Project Settings | Maven , or img in the Maven projects tool window).

    Default settings are used every time a Maven project is imported, or a new Maven Module is created.

Settings of both types are similar.

Item Description
Work offline If this check box is selected, Maven works in offline mode and uses only those resources that are available locally.

This option corresponds to the --offline command line option.

Use plugin registry Select this check box to enable referring to the Maven's Plugin Registry.

This option corresponds to the --no-plugin-registry command line option.

Execute goals recursively If this check box is selected, the build recurses into the nested projects.

Clearing this check box corresponds to the --non-recursive command line option.

Print exception stack traces If this option is checked, exception stack traces are generated.

This option corresponds to the --errors command line option.

Output level Select the desired level of the output log, which allows plugins to create messages at levels of debug, info, warn, and error, fatal, or disable output log.
Checksum policy Select the desired level of checksum matching while downloading artifacts. You can opt to fails downloading, when checksums do not match (--strict-checksums), or issue a warning (--lax-checksums).
Multiproject build fail policy Specify how to treat a failure in a multiproject build. You can opt to fail the build:
  • At the very first failure, which corresponds to the command line option --fail-fast.
  • Fail at the end, which corresponds to the command line option --fail-at-end.
  • Ignore failures, which corresponds to the command line option --fail-never.
Snapshot update policy Select, whether you want IntelliJ IDEA to update snapshots on sync.
Plugin update policy Select plugin update policy from the drop-down list. You can opt to:
  • Check for updates, which corresponds to the command line option --check-plugin-updates.
  • Suppress checking for updates, which corresponds to the command line option --no-plugin-updates.

This option is ignored for Maven 3 and later versions.
Threads (-T option) Use this field to set the -T option for parallel builds. This option is available for Maven 3 and later versions.
For more information, see parallel builds in Maven 3 feature.
Maven home directory By default, this field shows the fully qualified name of the Maven installation directory. If you need to specify another directory, check Override option, click ellipsis button and select the desired path in the Select Maven Installation Directory dialog.
User settings file Specify the file that contains user-specific configuration for Maven in the text field. If you need to specify another file, check Override option, click ellipsis button and select the desired file in the Select Maven Settings File dialog.
Local repository By default, the field shows the path to the local directory under the user home, that stores the downloads, and contains the temporary build artifacts that you have not yet released. If you need to specify another directory, check Override option, click ellipsis button and select the desired path in the Select Maven Local Repository dialog.

See Also

Concepts:

Procedures:

Reference:

External Links:

Web Resources: