beanstalk:blue-green

Full name:

br.com.ingenieux:beanstalk-maven-plugin:1.5.6:blue-green

Description:

Implements Bluegreen Deployment

Attributes:

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

Required Parameters

Name Type Since Description
<applicationName> String 1.3.0 Beanstalk Application Name
Default value is: ${project.artifactId}.
User property is: beanstalk.applicationName.
<environmentNamePrefix> String 1.3.0 environmentNamePrefix - Matches all environment names prefixed with
Default value is: ${beanstalk.environmentName}.
User property is: beanstalk.environmentNamePrefix.
<session> MavenSession 1.3.0 (no description)
Default value is: ${session}.

Optional Parameters

Name Type Since Description
<configurableOptionSettings> List 1.3.0

Allows you to declare your own properties inside the plugin configuration, as long as it starts with "beanstalk.x."


<pluginManagement>
  <plugins>
    <plugin>
      <groupId>br.com.ingenieux</groupId>
      <artifactId>beanstalk-maven-plugin</artifactId>
      <inherited>true</inherited>
      <version>XXX</version>
      <configuration>
        <tags>
          <Uses>ingenieux Beanstalker, http://beanstalker.ingenieux.com.br/</Uses>
        </tags>
        <configurableOptionSettings>
          <configurableOptionSetting>
            <alias>beanstalkx.serviceRole</alias>
            <namespace>aws:elasticbeanstalk:environment</namespace>
            <optionName>ServiceRole</optionName>
          </configurableOptionSetting>
        </configurableOptionSettings>
      </configuration>
    </plugin>
  </plugins>
</pluginManagement>

This basically exposes the beanstalkx.serviceRole property as the mentioned Configuration Option Setting


<credentialId> String 1.3.0 The credential id (on ~/.aws/credentials file) to use)
Default value is: default.
User property is: beanstalker.credentialId.
<endpointUrl> String 1.3.0 Endpoint URL
User property is: beanstalk.endpointUrl.
<environmentRef> String 1.3.0 Environment Ref
Default value is: ${project.artifactId}.elasticbeanstalk.com.
User property is: beanstalk.environmentRef.
<ignoreExceptions> boolean 1.3.0 Ignore Exceptions?
Default value is: false.
User property is: beanstalker.ignoreExceptions.
<regionName> String 1.3.0

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

See this list for reference.


User property is: beanstalker.region.
<serverId> String 1.3.0 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 1.3.0 Verbose Logging?
Default value is: false.
User property is: beanstalker.verbose.
<versionLabel> String 1.3.0 Version Label to use. Defaults to Project Version
Default value is: ${project.version}-${maven.build.timestamp}.
User property is: beanstalk.versionLabel.

Parameter Details

<applicationName>

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

<configurableOptionSettings>

Allows you to declare your own properties inside the plugin configuration, as long as it starts with "beanstalk.x."


<pluginManagement>
  <plugins>
    <plugin>
      <groupId>br.com.ingenieux</groupId>
      <artifactId>beanstalk-maven-plugin</artifactId>
      <inherited>true</inherited>
      <version>XXX</version>
      <configuration>
        <tags>
          <Uses>ingenieux Beanstalker, http://beanstalker.ingenieux.com.br/</Uses>
        </tags>
        <configurableOptionSettings>
          <configurableOptionSetting>
            <alias>beanstalkx.serviceRole</alias>
            <namespace>aws:elasticbeanstalk:environment</namespace>
            <optionName>ServiceRole</optionName>
          </configurableOptionSetting>
        </configurableOptionSettings>
      </configuration>
    </plugin>
  </plugins>
</pluginManagement>

This basically exposes the beanstalkx.serviceRole property as the mentioned Configuration Option Setting

  • Type: java.util.List
  • Since: 1.3.0
  • Required: No

<credentialId>

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

<endpointUrl>

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

<environmentNamePrefix>

environmentNamePrefix - Matches all environment names prefixed with
  • Type: java.lang.String
  • Since: 1.3.0
  • Required: Yes
  • User Property: beanstalk.environmentNamePrefix
  • Default: ${beanstalk.environmentName}

<environmentRef>

Environment Ref
  • Type: java.lang.String
  • Since: 1.3.0
  • Required: No
  • User Property: beanstalk.environmentRef
  • Default: ${project.artifactId}.elasticbeanstalk.com

<ignoreExceptions>

Ignore Exceptions?
  • Type: boolean
  • Since: 1.3.0
  • 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: 1.3.0
  • 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: 1.3.0
  • Required: No
  • User Property: beanstalker.serverId
  • Default: aws.amazon.com

<session>

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

<verbose>

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

<versionLabel>

Version Label to use. Defaults to Project Version
  • Type: java.lang.String
  • Since: 1.3.0
  • Required: No
  • User Property: beanstalk.versionLabel
  • Default: ${project.version}-${maven.build.timestamp}