2014-10-31 06:20:28 -04: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>
|
|
|
|
|
|
|
|
<parent>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq.examples.jms</groupId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<artifactId>jms-examples</artifactId>
|
2014-11-11 07:46:32 -05:00
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
2014-10-31 06:20:28 -04:00
|
|
|
</parent>
|
|
|
|
|
2014-11-17 09:23:06 -05:00
|
|
|
<artifactId>activemq-jms-client-kickoff-example</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<packaging>jar</packaging>
|
2014-11-11 07:46:32 -05:00
|
|
|
<name>ActiveMQ6 JMS Kick Off Example</name>
|
2014-10-31 06:20:28 -04:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq.examples.jms</groupId>
|
|
|
|
<artifactId>activemq-jms-examples-common</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-core-client</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.jms</groupId>
|
|
|
|
<artifactId>jboss-jms-api_2.0_spec</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-maven-plugin</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start</id>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!--we need to fork the server as we have system props that need set pre runtime-->
|
|
|
|
<fork>true</fork>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>build.directory</name>
|
|
|
|
<value>${basedir}/target/</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>com.sun.management.jmxremote</name>
|
|
|
|
<value></value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>com.sun.management.jmxremote.port</name>
|
|
|
|
<value>3000</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>com.sun.management.jmxremote.ssl</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>com.sun.management.jmxremote.authenticate</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>runClient</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-17 09:23:06 -05:00
|
|
|
<clientClass>org.apache.activemq.jms.example.ClientKickoffExample</clientClass>
|
2014-10-31 06:20:28 -04:00
|
|
|
<args>
|
|
|
|
<param>jnp://localhost:1099</param>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop</id>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq.examples.jms</groupId>
|
|
|
|
<artifactId>activemq-jms-client-kickoff-example</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-core-client</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-server</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-jms-client</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-jms-server</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.javaee</groupId>
|
|
|
|
<artifactId>jboss-jms-api</artifactId>
|
|
|
|
<version>1.1.0.GA</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.naming</groupId>
|
|
|
|
<artifactId>jnpserver</artifactId>
|
|
|
|
<version>5.0.3.GA</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<waitOnStart>false</waitOnStart>
|
2014-11-19 14:58:44 -05:00
|
|
|
<hornetqConfigurationDir>${basedir}/target/classes/activemq/server0</hornetqConfigurationDir>
|
2014-10-31 06:20:28 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|