beanstalk:fast-deploy

Full name:

br.com.ingenieux:beanstalk-maven-plugin:1.5.6:fast-deploy

Description:

Uploads a packed war file to Amazon S3 for further Deployment.

Attributes:

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

Required Parameters

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

Optional Parameters

Name Type Since Description
<configurableOptionSettings> List 0.2.8

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

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

See this list for reference.


User property is: beanstalker.region.
<serverId> String 0.2.8 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.
<silentUpload> boolean 0.2.8 Silent Upload?
Default value is: false.
User property is: beanstalk.silentUpload.
<skipEnvironmentUpdate> boolean 0.2.8 Skip Environment Update?
Default value is: false.
User property is: beanstalk.skipEnvironmentUpdate.
<sourceDirectory> File 0.2.8 Artifact to Deploy
Default value is: ${project.build.directory}/${project.build.finalName}.
<stagingDirectory> File 0.2.8 Git Staging Dir (should not be under target/)
Default value is: ${project.basedir}/tmp-git-deployment-staging.
User property is: beanstalk.stagingDirectory.
<useStagingDirectory> boolean 0.2.8 Use Staging Directory?
Default value is: false.
User property is: beanstalk.useStagingDirectory.
<verbose> boolean 0.2.8 Verbose Logging?
Default value is: false.
User property is: beanstalker.verbose.
<versionDescription> String 0.2.8 Version Description
Default value is: Update from fast-deploy.
User property is: beanstalk.versionDescription.

Parameter Details

<applicationName>

Beanstalk Application Name
  • Type: java.lang.String
  • Since: 0.2.8
  • 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: 0.2.8
  • Required: No

<credentialId>

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

<endpointUrl>

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

<environmentRef>

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

<ignoreExceptions>

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

<project>

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Since: 0.2.8
  • Required: No
  • Default: ${project}

<regionName>

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

See this list for reference.

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

<session>

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

<silentUpload>

Silent Upload?
  • Type: boolean
  • Since: 0.2.8
  • Required: No
  • User Property: beanstalk.silentUpload
  • Default: false

<skipEnvironmentUpdate>

Skip Environment Update?
  • Type: boolean
  • Since: 0.2.8
  • Required: No
  • User Property: beanstalk.skipEnvironmentUpdate
  • Default: false

<sourceDirectory>

Artifact to Deploy
  • Type: java.io.File
  • Since: 0.2.8
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}

<stagingDirectory>

Git Staging Dir (should not be under target/)
  • Type: java.io.File
  • Since: 0.2.8
  • Required: No
  • User Property: beanstalk.stagingDirectory
  • Default: ${project.basedir}/tmp-git-deployment-staging

<useStagingDirectory>

Use Staging Directory?
  • Type: boolean
  • Since: 0.2.8
  • Required: No
  • User Property: beanstalk.useStagingDirectory
  • Default: false

<verbose>

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

<versionDescription>

Version Description
  • Type: java.lang.String
  • Since: 0.2.8
  • Required: No
  • User Property: beanstalk.versionDescription
  • Default: Update from fast-deploy