Maven SCT

Use the Maven source configuration type (SCT) to load artifacts from a Maven repository.

Guidelines

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
  • Empty versions are created in Deployment Automation upon import.
  • You must use the Apache Maven plugin to download artifacts as part of your component processes. For details, see Apache Maven plugin.

    You cannot use the DA VFS plugin to download artifacts.

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.

Back to top

Maven SCT settings

The following table describes the properties specific to the Maven source configuration type:

Field Description
Repository URL Base URL for the Maven repository.
User Maven username.
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:

(1.[0-9]+).*

Preserve Execute Permissions (Optional) Select this option to save file execute permissions along with the files.

Back to top

See also: