Goals available for this plugin:
Goal | Description |
---|---|
ec2:describeinstances | Connect to EC2 and list instances associated with this account |
ec2:launch | Connect to EC2 and launch a a single instance configured according
to user preferences. By default, the plugin waits until the
instance reaches the state of "running" before allowing the build
to continue. Once an EC2 instance is "running" Amazon has assigned
it a public dns name. The publi dns name, the instance id, and the
value of the tag "Name" (if that tag is supplied) are stored as the
project properties ec2.instance.dns ,
ec2.instance.id , ec2.instance.name ,
respectively. If wait is false, the
ec2.instance.dns property will not be set since the
instance will not have a public dns name by the time the plugin
execution completes. |
ec2:terminate | Connect to EC2 and terminate the indicated instance. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.6 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.kuali.maven.plugins</groupId> <artifactId>ec2-maven-plugin</artifactId> <version>1.0.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.kuali.maven.plugins</groupId> <artifactId>ec2-maven-plugin</artifactId> <version>1.0.0</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"