<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>pl.jojczykp.maven</groupId>
<artifactId>aws-maven-plugin-test</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>pl.jojczykp.maven.plugins</groupId>
<artifactId>aws-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>create-queues</id>
<phase>pre-integration-test</phase>
<configuration>
<regionName>eu-west-1</regionName>
<queues>
<name>sample-queue-1</name>
<name>sample-queue-2</name>
<name>sample-queue-3</name>
</queues>
</configuration>
<goals>
<goal>sqs-create-queue</goal>
</goals>
</execution>
<execution>
<id>delete-queues</id>
<phase>post-integration-test</phase>
<configuration>
<regionName>eu-west-1</regionName>
<queues>
<name>sample-queue-1</name>
<name>sample-queue-2</name>
<name>sample-queue-3</name>
</queues>
</configuration>
<goals>
<goal>sqs-delete-queue</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>