amw:deploy-multi

Full name:

ch.mobi.maven:amw-maven-plugin:2.1.40:deploy-multi

Description:

Sends a deployment request to AMW for a single or multiple application(s) (one server, one or more ear file(s)).

Attributes:

Required Parameters

Name Type Since Description
release String - AMW release name
User property is: amwRelease.
serverName String - AMW server name
User property is: amwServerName.

Optional Parameters

Name Type Since Description
applicationProperties String - List of amwApplicationName=amwApplicationVersion,amwApp2=amwApp2version,...

supported separators: "," or ";" or any kind of new-line

The string is parsed using Properties.load()


User property is: amwApplicationProperties.
deploySameVersion boolean - (no description)
Default value is: true.
User property is: amwDeploySameVersion.
deploymentProperties String - List of amwDeploymentParameterKey=amwDeploymentParameterValue,key2=value2,...

supported separators: "," or new-line

The string is parsed using Properties.load()


User property is: amwDeploymentProperties.
deploymentTime String - if this parameter is set, the deployment will be set to todays date, using the given time. If this has already passed, it is up to AMW (Liima) what it does with the request. Format is HH:mm
User property is: amwDeploymentTime.
maxPollingDurationInMs long - maximum duration after which the plugin will interpret an AMW deployment as failed defaults to 10 Minutes
Default value is: 600000.
User property is: amwMaxPollingDuration.
pollingIntervalInMs long - time between polling requests to determine the deployment state, defaults to 2 seconds
Default value is: 2000.
User property is: amwPollingInterval.
preservePropertiesPrefix String - A prefix used if a deployment is promoted from a source- to a target-environment to preserve some deployment properties. Properties which keys start with this prefix will be re-used for the new deployment request.
Default value is: dep..
User property is: amwPreservePropertiesPrefix.
sourceEnv String - if the version is omitted the plugin allows to determine the version from an environment and use that version for deployment on the targetEnv. The parameter is not case sensitive.
User property is: amwSourceEnv.
targetEnv String - AMW target environment (where the deployment should end up). The parameter is not case sensitive.
User property is: amwTargetEnv.
url String - AMW REST interface url, no trailing slash, e.g. https://liima.host.domain/AMW_rest/resources
User property is: amwUrl.
writeTeamCityParameters boolean - whether to write log statements that are picked up by TeamCity build interaction
Default value is: true.
User property is: writeTeamCityParameters.

Parameter Details

applicationProperties:

List of amwApplicationName=amwApplicationVersion,amwApp2=amwApp2version,...

supported separators: "," or ";" or any kind of new-line

The string is parsed using Properties.load()

  • Type: java.lang.String
  • Required: No
  • User Property: amwApplicationProperties

deploySameVersion:

(no description)
  • Type: boolean
  • Required: No
  • User Property: amwDeploySameVersion
  • Default: true

deploymentProperties:

List of amwDeploymentParameterKey=amwDeploymentParameterValue,key2=value2,...

supported separators: "," or new-line

The string is parsed using Properties.load()

  • Type: java.lang.String
  • Required: No
  • User Property: amwDeploymentProperties

deploymentTime:

if this parameter is set, the deployment will be set to todays date, using the given time. If this has already passed, it is up to AMW (Liima) what it does with the request. Format is HH:mm
  • Type: java.lang.String
  • Required: No
  • User Property: amwDeploymentTime

maxPollingDurationInMs:

maximum duration after which the plugin will interpret an AMW deployment as failed defaults to 10 Minutes
  • Type: long
  • Required: No
  • User Property: amwMaxPollingDuration
  • Default: 600000

pollingIntervalInMs:

time between polling requests to determine the deployment state, defaults to 2 seconds
  • Type: long
  • Required: No
  • User Property: amwPollingInterval
  • Default: 2000

preservePropertiesPrefix:

A prefix used if a deployment is promoted from a source- to a target-environment to preserve some deployment properties. Properties which keys start with this prefix will be re-used for the new deployment request.
  • Type: java.lang.String
  • Required: No
  • User Property: amwPreservePropertiesPrefix
  • Default: dep.

release:

AMW release name
  • Type: java.lang.String
  • Required: Yes
  • User Property: amwRelease

serverName:

AMW server name
  • Type: java.lang.String
  • Required: Yes
  • User Property: amwServerName

sourceEnv:

if the version is omitted the plugin allows to determine the version from an environment and use that version for deployment on the targetEnv. The parameter is not case sensitive.
  • Type: java.lang.String
  • Required: No
  • User Property: amwSourceEnv

targetEnv:

AMW target environment (where the deployment should end up). The parameter is not case sensitive.
  • Type: java.lang.String
  • Required: No
  • User Property: amwTargetEnv

url:

AMW REST interface url, no trailing slash, e.g. https://liima.host.domain/AMW_rest/resources
  • Type: java.lang.String
  • Required: No
  • User Property: amwUrl

writeTeamCityParameters:

whether to write log statements that are picked up by TeamCity build interaction
  • Type: boolean
  • Required: No
  • User Property: writeTeamCityParameters
  • Default: true