Maven

You can use Maven as an artifact source for a component.

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 for a component 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.

Back to top

Maven fields table

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 When enabled, file execute permissions are saved with the files.

Back to top