ingenieux docs

Basic POM Configuration

back to top

Identify the Version

The version used when writing the docs was 1.1.1, but make sure its the latest version by looking on

Add the Plugin

Start by Adding the Plugin in your pom.xml:

    <version>[plugin version]</version>

Declare the properties

While the beanstalk plugin's mojos allow embedding its config into the <configuration/> section, we recommend you use it by properties and profiles, since it allows more flexibility and finer control (like overriding from the Command Line):


Note the difference. If you're using all beanstalker plugins, the beanstalker. prefix is common. The prefix changes according to the plugin, where:

  • beanstalk is for the Beanstalk Maven Plugin
  • cloudfront is for the Cloudfront Maven Plugin
  • simpledb is for the SimpleDB Maven Plugin
  • mapreduce is for the MapReduce Maven Plugin

Here are the beanstalker properties:

  • beanstalker.serverId the Server Id to Use (see AWS Configuration)
  • beanstalker.verbose: Set to true for Verbose Logging (AWS SDK + Internal Messages)
  • beanstalker.region: Set to the region to use e.g. us-wast-1. Defaults to us-east-1, and applies to beanstalk and cloudfront

The Basic Beanstalk Properties are:

  • beanstalk.applicationName: The Elastic Beanstalk Application Name
  • beanstalk.cnamePrefix: The CNAME Prefix to Lookup for an Environment
  • beanstalk.environmentName: Used by create-environment and replace-environment

A basic pom might look as such:

<project xmlns="" xmlns:xsi=""



For a full reference, see the beanstalk plugin property reference

Enclose Deployment Steps via Build Profiles

We strongly advise you to package beanstalk-deployment functionality into a build profile. For a full example, see the Deploying using S3 article.

Up Next

How to deploy using git (**preferred even if you don't use git as your SCM**) and/or using s3

back to top

comments powered by Disqus