Options Window: Java: Maven

Use to configure Maven settings that affect the behavior of Maven in the IDE.

Element Description

Execution

Select this category to set options for executing Maven commands in the IDE.

    Maven Home

Specifies the location of the local Maven installation (for example, /usr/local/maven/apache-maven-209).

By default, the IDE uses the version of Maven that is bundled and installed with the IDE.

    Global Execution Options

Enables you to select additional Maven execution options to apply to all Maven projects.

    Edit Global Custom Goal Definitions

Opens a dialog box where you can configure custom Maven goals that can be invoked from any Maven project.

Invoke custom goals by right-clicking the project in the Projects window and choosing Custom.

    Reuse Output Tabs from Finished Processes

When selected, Maven output messages are displayed in the same tab in the Output window. When deselected, a new tab is opened for each new Maven process.
    Print Maven output logging level When selected, the level of the output log is printed.

    Always Show Output

When selected, the Output window is automatically opened and focus is given to the window each time that output is written to the window. When deselected, if the Output window is closed or minimized the window will not open automatically when output is written to the window.

    Output Tab identified by

Select the name that is used to identify the tab in the Output window.

    Also show active configuration

When selected, the active configuration is also displayed in the title of the tab in the Output window.

    Collapse folds for successfully executed mojos

When selected, the results for each mojo in the Output window are collapsed if the execution of the mojo was successful.

Appearance

Select this category to set options for displaying Maven projects in the IDE.

    Project node name

Select a template for displaying the Maven project node in the IDE.

Dependencies

Select this category to set options for downloading project dependencies. The default setting for the tasks is Never. Modifying the setting can have a significant impact on performance when opening a Maven project.

    Dependency Download Strategy

    Download Binaries Specifies how often the IDE downloads dependency binaries when a Maven project is opened.

    Check Javadoc

Specifies how often the IDE checks the Javadoc when a Maven project is opened.

    Check Sources

Specifies how often the IDE checks the sources when a Maven project is opened.

Index

Select this category to set options for updating the Maven repository index.

    Index Update Frequency

Specifies how often the IDE checks the remote repository for updates.
    Completely disable indexing When selected, indexing of files is disabled.
Experimental Select this category to use the pom.xml file content to determine what Maven binaries to use and download if necessary.
    Download and use best Maven binary for execution When selected, the IDE determines the right version of maven binaries to use and downloads it from .
    Use the following location to store Maven binaries Select to specify the directory on your machine for storing Maven binaries.

If you are using Maven with a proxy host you might need to specify the proxy settings explicitly in the Maven settings.xml file. You can open and edit the user settings for the local repository by expanding the Project Files node in the Projects window and double-clicking settings.xml.

For details about Maven proxy settings, see the "How do I specify Maven proxy settings" FAQ at .


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.