Overview
This page describes how to run the Apache Ant integration.
NOTE: Before you begin, make sure that you have the relevant package manager installed. For details, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/1140852201/Getting+Started+with+the+Unified+Agent#Prerequisites .
Configuration
For information on configuration parameters, refer to Configuration File & Parameters.
Using Module Settings Inside build.xml
Project module in your workspace to be updated or created with nested <module>
elements.
Attribute | Type | Description | Required |
---|---|---|---|
name | String | Module name to be matched with an existing Mend project name. If a project with this name does not exist, then a new project will be created. | One of these attributes |
token | String | Module token to match an existing Mend project can be retrieved from the admin page in your Mend account |
Each module must be declared with nested <path>
elements that store the location of the module's lib folder (with all the dependencies).
Example
This example shows how to configure a Multi-module project structure with two modules. The first is matched by name and the second by a project token.
build.xml
|
More information on working with nested <path>
elements can be found here.
Run the Default Scan
The Unified Agent will search for the following extensions in your project:
.jar
.war
.ear
.par
.rar
.dll
.exe
.ko
.so
.msi
.zip
.tar
.tar.gz
.swc
.swf
This option will only occur if none of the above options (Configuration or Using Module settings inside build.xml) are activated.