beanstalk:clean-previous-versions

Full name:

br.com.ingenieux:beanstalk-maven-plugin:1.5.6:clean-previous-versions

Description:

Deletes application versions, either by count and/or by date old

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 0.2.2.

Required Parameters

Name Type Since Description
<applicationName> String 0.2.2 Beanstalk Application Name
Default value is: ${project.artifactId}.
User property is: beanstalk.applicationName.
<session> MavenSession 0.2.2 (no description)
Default value is: ${session}.

Optional Parameters

Name Type Since Description
<cleanFilter> String 0.2.2 Filter application version list to examine for cleaning based on java.util.regex.Pattern string.
User property is: beanstalk.cleanFilter.
<credentialId> String 0.2.2 The credential id (on ~/.aws/credentials file) to use)
Default value is: default.
User property is: beanstalker.credentialId.
<daysToKeep> Integer 0.2.2 How many versions to keep?
User property is: beanstalk.daysToKeep.
<deleteSourceBundle> boolean 0.2.2 Delete the source bundle?
Default value is: false.
User property is: beanstalk.deleteSourceBundle.
<dryRun> boolean 0.2.2 Simulate deletion changing algorithm?
Default value is: true.
User property is: beanstalk.dryRun.
<endpointUrl> String 0.2.2 Endpoint URL
User property is: beanstalk.endpointUrl.
<ignoreExceptions> boolean 0.2.2 Ignore Exceptions?
Default value is: false.
User property is: beanstalker.ignoreExceptions.
<regionName> String 0.2.2

Service region e.g. "us-east-1"

See this list for reference.


User property is: beanstalker.region.
<serverId> String 0.2.2 The server id in maven settings.xml to use for AWS Services Credentials (accessKey / secretKey)
Default value is: aws.amazon.com.
User property is: beanstalker.serverId.
<verbose> boolean 0.2.2 Verbose Logging?
Default value is: false.
User property is: beanstalker.verbose.
<versionsToKeep> Integer 0.2.2 How many versions to keep?
User property is: beanstalk.versionsToKeep.

Parameter Details

<applicationName>

Beanstalk Application Name
  • Type: java.lang.String
  • Since: 0.2.2
  • Required: Yes
  • User Property: beanstalk.applicationName
  • Default: ${project.artifactId}

<cleanFilter>

Filter application version list to examine for cleaning based on java.util.regex.Pattern string.
  • Type: java.lang.String
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.cleanFilter

<credentialId>

The credential id (on ~/.aws/credentials file) to use)
  • Type: java.lang.String
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalker.credentialId
  • Default: default

<daysToKeep>

How many versions to keep?
  • Type: java.lang.Integer
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.daysToKeep

<deleteSourceBundle>

Delete the source bundle?
  • Type: boolean
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.deleteSourceBundle
  • Default: false

<dryRun>

Simulate deletion changing algorithm?
  • Type: boolean
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.dryRun
  • Default: true

<endpointUrl>

Endpoint URL
  • Type: java.lang.String
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.endpointUrl

<ignoreExceptions>

Ignore Exceptions?
  • Type: boolean
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalker.ignoreExceptions
  • Default: false

<regionName>

Service region e.g. "us-east-1"

See this list for reference.

  • Type: java.lang.String
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalker.region

<serverId>

The server id in maven settings.xml to use for AWS Services Credentials (accessKey / secretKey)
  • Type: java.lang.String
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalker.serverId
  • Default: aws.amazon.com

<session>

(no description)
  • Type: org.apache.maven.execution.MavenSession
  • Since: 0.2.2
  • Required: Yes
  • Default: ${session}

<verbose>

Verbose Logging?
  • Type: boolean
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalker.verbose
  • Default: false

<versionsToKeep>

How many versions to keep?
  • Type: java.lang.Integer
  • Since: 0.2.2
  • Required: No
  • User Property: beanstalk.versionsToKeep