beanstalk:dump-environment-settings

Full name:

br.com.ingenieux:beanstalk-maven-plugin:1.5.6:dump-environment-settings

Description:

Dumps the current Environment Settings into stdout or an output file (a java properties file) TODO: Export to .ebextensions file format

Attributes:

  • Requires a Maven project to be executed.
  • Executes by direct invocation only.
  • Since version: 1.1.0.

Required Parameters

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

Optional Parameters

Name Type Since Description
<changedOnly> boolean 1.1.0 (no description)
Default value is: true.
User property is: beanstalk.changedOnly.
<configurableOptionSettings> List 1.1.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.1.0 The credential id (on ~/.aws/credentials file) to use)
Default value is: default.
User property is: beanstalker.credentialId.
<endpointUrl> String 1.1.0 Endpoint URL
User property is: beanstalk.endpointUrl.
<environmentRef> String 1.1.0 Environment Ref
Default value is: ${project.artifactId}.elasticbeanstalk.com.
User property is: beanstalk.environmentRef.
<ignoreExceptions> boolean 1.1.0 Ignore Exceptions?
Default value is: false.
User property is: beanstalker.ignoreExceptions.
<outputFile> File 1.1.0 (Optional) output file to output to
User property is: beanstalk.outputFile.
<outputFileFormat> String 1.1.0

Output File Format

Possible values:

  • yaml
  • properties
(defaults to properties)
Default value is: properties.
User property is: beanstalk.outputFileFormat.
<regionName> String 1.1.0

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

See this list for reference.


User property is: beanstalker.region.
<serverId> String 1.1.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.1.0 Verbose Logging?
Default value is: false.
User property is: beanstalker.verbose.

Parameter Details

<applicationName>

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

<changedOnly>

(no description)
  • Type: boolean
  • Since: 1.1.0
  • Required: No
  • User Property: beanstalk.changedOnly
  • Default: true

<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.1.0
  • Required: No

<credentialId>

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

<endpointUrl>

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

<environmentRef>

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

<ignoreExceptions>

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

<outputFile>

(Optional) output file to output to
  • Type: java.io.File
  • Since: 1.1.0
  • Required: No
  • User Property: beanstalk.outputFile

<outputFileFormat>

Output File Format

Possible values:

  • yaml
  • properties
(defaults to properties)
  • Type: java.lang.String
  • Since: 1.1.0
  • Required: No
  • User Property: beanstalk.outputFileFormat
  • Default: properties

<regionName>

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

See this list for reference.

  • Type: java.lang.String
  • Since: 1.1.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.1.0
  • Required: No
  • User Property: beanstalker.serverId
  • Default: aws.amazon.com

<session>

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

<verbose>

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