activemq-artemis/examples/javaee/mdb-remote-failover-static/pom.xml

90 lines
3.8 KiB
XML
Raw Normal View History

<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>
<groupId>org.apache.activemq.example.javaee</groupId>
<artifactId>javaee-examples</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>activemq-javaee-mdb-remote-failover-static-example</artifactId>
<packaging>jar</packaging>
<name>ActiveMQ6 Java EE MDB Remote Failover Static Example</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<!-- Copy the AS for the second node into current_submodule/target/as-node1.-->
<execution>
<id>as-node1</id>
<inherited>true</inherited>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/jbossas-node1</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${jboss.home}</directory>
<excludes>
<exclude>standalone/data</exclude>
<exclude>standalone/log</exclude>
<exclude>standalone/tmp</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/server</directory>
</resource>
</resources>
</configuration>
</execution>
<!-- Copy the AS for the second node into current_submodule/target/as-node2.-->
<execution>
<id>as-node2</id>
<inherited>true</inherited>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/jbossas-node2</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${jboss.home}</directory>
<excludes>
<exclude>standalone/data</exclude>
<exclude>standalone/log</exclude>
<exclude>standalone/tmp</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/server</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<argLine>-Dlogging.configuration=file:///${user.dir}/test/config/logging.properties</argLine>
<!-- Parameters to test cases. -->
<systemPropertyVariables>
<arquillian.launch>clustering-all</arquillian.launch>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>