Configuration File Parameter
Description and Expected Behavior
Command Line Parameter Available?
Define which exact scope names to ignore.
By default, the Unified Agent ignores direct dependencies with scope 'test' and 'provided'.
"provided" and "test"
Whether to resolve Maven dependencies, requires "pom.xml".
In case the project is a Maven project, the resolution will start.
The Maven resolution will not start resolution.
When using the dependency resolver, it will only include pom.xml dependencies, not source files and packages.
NOTE: Only relevant when fileSystemScan is true.
Will ignore files from scan, those which have extensions such as:".java", ".class","pom.xml".
Will not ignore the mentioned file extensions.
Combines all pom modules into a single WhiteSource project with an aggregated dependency flat list (no hierarchy).
Will create a single project for all modules, to be displayed as a flat list.
A project will be created for each module and displayed as a hierarchical tree.
Whether to ignore dependency resolving of a pom.xml file containing a 'pom' value inside a packaging tag, i.e., '<packaging>pom</packaging>'.
The dependency resolver will ignore all dependencies specified inside a pom.xml file that contains a packaging tag with 'pom' value ('<packaging>pom</packaging>')
The dependency resolver will not ignore all dependencies specified inside a pom.xml file that contains a packaging tag with 'pom' value ('<packaging>pom</packaging>')
Whether to run "mvn clean install" command on found pom.xml folder
Will run the "mvn clean install" command
Will not run the "mvn clean install" command
If the command `mvn dependency:tree` fails, we try to resolve the partial output (of the command) if it exists and parse all the direct dependencies from the pom.xml file.
The scan will end with success and will send a flat list (direct only).
Path to the Maven installation in case it does not match the M2_HOME environment variable
Path to .m2 folder, in case it is not available in the default location.
Allows users to disable downloading missing dependencies in Maven.
In case there is a missing dependency jar/binary in the repository, the code will try to download the missing dependency.
The downloading of missing dependencies will be disabled.
Provides any parameters starting with '-' or '--', and Unified Agent should add these to the end of the Maven commands.
Whether a project name will be taken from the dependency file.
The project name will be taken from the pom.xml's 'artifactId' field. Works only when the maven resolver is the only active resolver.
If the Unified Agent identifies any additional resolvers besides Maven that are set to True, an error is generated.
The project name will be taken from the CLI/configuration file.