activemq-artemis/examples/soak/normal/pom.xml

191 lines
6.9 KiB
XML
Raw Normal View History

2014-11-10 11:14:12 -05:00
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>activemq-jms-soak-example</artifactId>
2014-11-10 11:14:12 -05:00
<packaging>jar</packaging>
<name>ActiveMQ6 Soak Normal Example</name>
2014-11-10 11:14:12 -05:00
<parent>
<groupId>org.apache.activemq.example.soak</groupId>
2014-11-10 11:14:12 -05:00
<artifactId>soak-examples</artifactId>
<version>6.0.0-SNAPSHOT</version>
2014-11-10 11:14:12 -05:00
</parent>
<dependencies>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jms-client</artifactId>
2014-11-10 11:14:12 -05:00
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<server.dir>${basedir}/server0/</server.dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-maven-plugin</artifactId>
2014-11-10 11:14:12 -05:00
<dependencies>
<dependency>
<groupId>org.apache.activemq.example.soak</groupId>
<artifactId>activemq-jms-soak-example</artifactId>
2014-11-10 11:14:12 -05:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-server</artifactId>
2014-11-10 11:14:12 -05:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jms-server</artifactId>
2014-11-10 11:14:12 -05:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty.version}</version>
</dependency>
</dependencies>
<configuration>
<waitOnStart>false</waitOnStart>
<systemProperties>
<property>
<name>build.directory</name>
<value>${basedir}/target/</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-maven-plugin</artifactId>
2014-11-10 11:14:12 -05:00
<executions>
<execution>
<id>start</id>
<goals>
<goal>start</goal>
</goals>
<configuration>
<fork>true</fork>
<configurationDir>${server.dir}</configurationDir>
2014-11-10 11:14:12 -05:00
</configuration>
</execution>
<execution>
<id>runConsumer</id>
<goals>
<goal>runClient</goal>
</goals>
<configuration>
<clientClass>org.apache.activemq.jms.soak.example.SoakReceiver</clientClass>
2014-11-10 11:14:12 -05:00
<args>
<param>tcp://localhost:5445</param>
2014-11-10 11:14:12 -05:00
</args>
</configuration>
</execution>
<execution>
<id>runProducer</id>
<goals>
<goal>runClient</goal>
</goals>
<configuration>
<clientClass>org.apache.activemq.jms.soak.example.SoakSender</clientClass>
2014-11-10 11:14:12 -05:00
<args>
<param>tcp://localhost:5445</param>
2014-11-10 11:14:12 -05:00
</args>
</configuration>
</execution>
<execution>
<id>stop</id>
<goals>
<goal>stop</goal>
</goals>
<configuration>
<configurationDir>${server.dir}</configurationDir>
2014-11-10 11:14:12 -05:00
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>remote</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-maven-plugin</artifactId>
2014-11-10 11:14:12 -05:00
<executions>
<execution>
<id>runConsumer</id>
<goals>
<goal>runClient</goal>
</goals>
<configuration>
<clientClass>org.apache.activemq.jms.soak.example.SoakReceiver</clientClass>
2014-11-10 11:14:12 -05:00
<args>
<param>tcp://localhost:5445</param>
2014-11-10 11:14:12 -05:00
</args>
</configuration>
</execution>
<execution>
<id>runProducer</id>
<goals>
<goal>runClient</goal>
</goals>
<configuration>
<clientClass>org.apache.activemq.jms.soak.example.SoakSender</clientClass>
2014-11-10 11:14:12 -05:00
<args>
<param>tcp://localhost:5445</param>
2014-11-10 11:14:12 -05:00
</args>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>server</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-maven-plugin</artifactId>
2014-11-10 11:14:12 -05:00
<executions>
<execution>
<id>start</id>
<goals>
<goal>start</goal>
</goals>
<configuration>
<configurationDir>${server.dir}</configurationDir>
2014-11-10 11:14:12 -05:00
<fork>true</fork>
<waitOnStart>true</waitOnStart>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>