Skip to content

Maven - Process Steps

Import Version

Creates a new component version and imports artifacts

This step has no input properties.

Roles in the Maven plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

MavenComponentProperties

NameTypeDescription
Artifact IDStringName of the artifactID as defined in the Maven pom.xml file. The artifact ID is the name of the unversioned jar file.
Extensions of files to ConvertStringIf text-type files must be converted into another character set, type the list of file extensions to be converted. Matching file types are converted into the default or system character set of the system where the agent is located. Separate list items with commas.
File ExtensionsStringThe file extension for the file type to import. Separate multiple extensions with comma (,) character.
Group IDStringThe name of the groupID as defined in the Maven pom.xml file. The group ID identifies the project.
HTTP Proxy HostStringOptional HTTP proxy host.
HTTP Proxy PasswordPasswordOptional HTTP proxy password.
HTTP Proxy PortStringOptional HTTP proxy port. Must be supplied if the HTTP Proxy Host is specified.
HTTP Proxy UsernameStringOptional HTTP proxy user name.
Latest Build CountStringThe number of the builds to import. The default value is 1.
Maven QualifierStringThe optional qualifier is appended to the file name after the version number. Leave blank if not applicable.
PasswordPasswordThe password for the Maven-credentialed user.
Preserve Execute PermissionsBooleanFor Linux and UNIX operating systems, select this check box to retain the execute permissions for each file.
Repository URLStringBase URL for the Maven repository.
UserStringThe user name for the Maven-credentialed user.
Version Name PatternStringThe range of build versions to import. Versions are defined by regular expressions. For example, to import all 1.1.*, and 1.2.* versions, you might type (1.[0-9]+).*. A number of versions that is equal to the value in the Latest Build Count field is imported for each matching version. This property is only necessary when tracking older branches.

MavenImportProperties

NameTypeDescription
Snapshot version suffixStringOptional: When above is a SNAPSHOT string to fetch a specific SNAPSHOT (e.g. 20181224.151710-4), leave blank to default to the latest snapshot
Specific versionStringOptional: The maven version or SNAPSHOT string to import (e.g. 1.0.1 or 1.0-SNAPSHOT), leave blank for LATEST
Translate SnapshotBooleanSelect this check box to translate snapshot version to latest datetime string.
Version DescriptionStringAn optional description to add to the versions that are imported into DevOps Deploy.