blob: bad48ac39ca8932c93c223e4d0c90ec31ea309b4 [file] [log] [blame]
<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>
<packaging>jar</packaging>
<artifactId>brooklyn-example-simple-messaging-pubsub</artifactId>
<name>Brooklyn Simple Messaging Publish-Subscribe Example</name>
<parent>
<groupId>io.brooklyn.example</groupId>
<artifactId>brooklyn-examples-parent</artifactId>
<version>0.4.0-SNAPSHOT</version> <!-- BROOKLYN_VERSION -->
<relativePath>../pom.xml</relativePath>
</parent>
<repositories>
<repository>
<id>oracle</id>
<url>http://download.oracle.com/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-all</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-client</artifactId>
<version>0.14</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>process-classes</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-bdbstore</artifactId>
<version>0.14</version>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/resources</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.sleepycat</groupId>
<artifactId>je</artifactId>
<version>5.0.34</version>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/resources</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>build-distribution</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/config/example.xml</descriptor>
</descriptors>
<finalName>${project.artifactId}</finalName>
<outputDirectory>${project.basedir}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}</directory>
<includes><include>${project.artifactId}/</include></includes>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>