Skip to main content

Maven

Maven

The Maven package manager for Java.

Description

The Maven package manager for Java.

Configuration

Example

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
analyzer:
packageManagers:
Maven:
options:
userSettingsFile: <OPTIONAL_STRING>

Use the following syntax to configure this plugin in a repository's .ort.yml:

analyzer:
package_managers:
Maven:
options:
userSettingsFile: <OPTIONAL_STRING>

If the plugin is configured in both locations, the configurations are merged, with options from .ort.yml taking precedence over those from config.yml.

Options

userSettingsFile

STRING

An optional path to a custom user settings file. If the path is relative, it is resolved against the analyzer root. If unspecified, the default user settings file at ${user.home}/.m2/settings.xml is used.