| <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.7.0-M1</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.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> |
| </artifactItem> |
| <artifactItem> |
| <groupId>com.sleepycat</groupId> |
| <artifactId>je</artifactId> |
| <version>5.0.34</version> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-dependencies</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds> |
| geronimo-jms_1.1_spec,guava,jsr305,log4j,qpid-client,qpid-common,slf4j-api,slf4j-log4j12 |
| </includeArtifactIds> |
| <outputDirectory>${project.basedir}/resources/lib</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${project.basedir}</directory> |
| <includes> |
| <include>${project.artifactId}/</include> |
| <include>brooklyn*.log</include> |
| <include>brooklyn*.log.*</include> |
| <include>stacktrace.log</include> |
| <include>resources/lib/</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |