Use the Maven source configuration type (SCT) to load artifacts from a Maven repository.
To use Maven as an artifact source, select Maven from the Source Config Type list and specify its properties. For details about creating components, see Create components.
Depending on whether you select the Copy to CodeStation option when using this source configuration type, the following behavior applies:
|The Copy to CodeStation option is cleared||
|The Copy to CodeStation option is selected||
Use the DA VFS plugin to download artifacts. For details, see DA VFS plugin.
Note: If you are using Maven through Artifactory as your source configuration type, see Artifactory SCT.
Maven SCT settings
The following table describes the properties specific to the Maven source configuration type:
|Repository URL||Base URL for the Maven repository.|
|Password||Password associated with the username.|
|Group ID||Maven group ID.|
|Artifact ID||Maven artifact ID.|
|Maven Qualifier||Specify the name to append to the filename after the version. Leave empty if not applicable.|
|File Extension||Extension of the file to be pulled from Maven for new versions.|
|Latest Build Count||Number of most recent builds in Maven to load into Deployment Automation.|
|Version Name Pattern||
If specified, only versions with names matching this pattern are imported. For each group matching the first capturing group, the desired number of latest builds are loaded into Deployment Automation. This property is necessary only when tracking 'older' branches that contain new builds.
For example, to return n versions of each 1.0.*, 1.1.*, 1.2.*, ..., use the following regex:
|Preserve Execute Permissions||(Optional) Select this option to save file execute permissions along with the files.|