Skip to main content

Directory

Dir

Provides package configurations from a directory.

Description​

A PackageConfigurationProvider that loads PackageConfigurations from all given package configuration files. Supports all file formats specified in FileFormat.

Configuration​

Example​

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

ort:
packageConfigurationProviders:
Dir:
options:
path: <OPTIONAL_STRING>
mustExist: false

Options​

path​

STRING Required

The path of the package configuration directory.

mustExist​

BOOLEAN Default

A flag to denote whether the path is required to exist.