Maven

Apache Maven is a software project management and comprehension tool.

To use Maven as an artifact source, select Maven in Source Config Type and then configure the type-specific fields. For information about creating components, see Create components.

If you clear theCopy to CodeStation option for a component using this source configuration type:

  • 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 them.

If you select Copy to CodeStation for a component, you must 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.

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 will be imported. For each group matching the first capturing group, the desired number of latest builds will be 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.