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.tests</groupId>
<artifactId > activemq-tests-pom</artifactId>
2014-11-11 07:46:32 -05:00
<version > 6.0.0-SNAPSHOT</version>
2014-10-31 06:20:28 -04:00
</parent>
<artifactId > byteman-tests</artifactId>
<packaging > jar</packaging>
2014-11-11 07:46:32 -05:00
<name > ActiveMQ6 ByteMan Tests</name>
2014-10-31 06:20:28 -04:00
<properties >
<tools.jar > ${java.home}/../lib/tools.jar</tools.jar>
2014-11-10 11:14:12 -05:00
<byteman.version > 2.2.0</byteman.version>
2014-11-19 14:58:44 -05:00
<activemq.basedir > ${project.basedir}/../..</activemq.basedir>
2014-10-31 06:20:28 -04:00
</properties>
<dependencies >
<dependency >
<groupId > io.netty</groupId>
<artifactId > netty-all</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.byteman</groupId>
<artifactId > byteman</artifactId>
<version > ${byteman.version}</version>
</dependency>
<dependency >
<groupId > org.jboss.byteman</groupId>
<artifactId > byteman-submit</artifactId>
<scope > test</scope>
<version > ${byteman.version}</version>
</dependency>
<dependency >
<groupId > org.jboss.byteman</groupId>
<artifactId > byteman-install</artifactId>
<scope > test</scope>
<version > ${byteman.version}</version>
</dependency>
<dependency >
<groupId > org.jboss.byteman</groupId>
<artifactId > byteman-bmunit</artifactId>
<scope > test</scope>
<version > ${byteman.version}</version>
<exclusions >
<exclusion >
<groupId > org.testng</groupId>
<artifactId > testng</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > com.sun</groupId>
<artifactId > tools</artifactId>
<version > 1.7</version>
<scope > system</scope>
<systemPath > ${tools.jar}</systemPath>
</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>
<scope > test</scope>
<type > test-jar</type>
</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>
<scope > test</scope>
<type > test-jar</type>
</dependency>
<dependency >
2014-11-17 09:23:06 -05:00
<groupId > org.apache.activemq.tests</groupId>
2014-10-31 06:20:28 -04:00
<artifactId > integration-tests</artifactId>
<version > ${project.version}</version>
<scope > test</scope>
<type > test-jar</type>
</dependency>
<dependency >
2014-11-17 09:23:06 -05:00
<groupId > org.apache.activemq.tests</groupId>
2014-10-31 06:20:28 -04:00
<artifactId > unit-tests</artifactId>
<version > ${project.version}</version>
<scope > test</scope>
<type > test-jar</type>
</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 >
2014-11-17 09:23:06 -05:00
<groupId > org.apache.activemq</groupId>
<artifactId > activemq-ra</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-bootstrap</artifactId>
2014-10-31 06:20:28 -04:00
<version > ${project.version}</version>
</dependency>
<dependency >
2014-11-17 07:40:04 -05:00
<groupId > org.apache.geronimo.specs</groupId>
<artifactId > geronimo-j2ee-connector_1.5_spec</artifactId>
2014-10-31 06:20:28 -04:00
</dependency>
<dependency >
<groupId > org.jboss.security</groupId>
<artifactId > jboss-security-spi</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.security</groupId>
<artifactId > jbosssx</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.naming</groupId>
<artifactId > jnpserver</artifactId>
</dependency>
<dependency >
<groupId > apache-logging</groupId>
<artifactId > commons-logging</artifactId>
</dependency>
<dependency >
2014-11-17 07:40:04 -05:00
<groupId > org.apache.geronimo.specs</groupId>
<artifactId > geronimo-ejb_3.0_spec</artifactId>
2014-10-31 06:20:28 -04:00
</dependency>
<!-- this specifically for the JMS Bridge -->
<dependency >
<groupId > org.jboss</groupId>
<artifactId > jboss-transaction-spi</artifactId>
</dependency>
<dependency >
2014-11-17 07:40:04 -05:00
<groupId > org.apache.geronimo.components</groupId>
<artifactId > geronimo-jaspi</artifactId>
2014-10-31 06:20:28 -04:00
</dependency>
<dependency >
<groupId > org.jboss.spec.javax.jms</groupId>
<artifactId > jboss-jms-api_2.0_spec</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.logging</groupId>
<artifactId > jboss-logging-processor</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.logging</groupId>
<artifactId > jboss-logging</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.logmanager</groupId>
<artifactId > jboss-logmanager</artifactId>
</dependency>
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
</dependency>
</dependencies>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
<executions >
<execution >
<phase > test</phase>
<goals >
<goal > test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<skipTests > ${skipBytemanTests}</skipTests>
<includes >
2014-11-17 09:23:06 -05:00
<include > org.apache.activemq/byteman/tests/*.java</include>
2014-10-31 06:20:28 -04:00
</includes>
<!-- ensure we don't inherit a byteman jar form any env settings -->
<environmentVariables >
<BYTEMAN_HOME > </BYTEMAN_HOME>
</environmentVariables>
<systemProperties >
<!--
<property >
<name > org.jboss.byteman.home</name>
<value > </value>
</property>
<property >
<name > org.jboss.byteman.verbose</name>
<value > true</value>
</property>
<property >
<name > org.jboss.byteman.contrib.bmunit.verbose</name>
<value > true</value>
</property>
<property >
<name > org.jboss.byteman.dump.generated.classes</name>
<value > </value>
</property>
-->
</systemProperties>
<!-- make sure maven puts the byteman jar in the classpath rather than in a manifest jar -->
<useManifestOnlyJar > false</useManifestOnlyJar>
<forkMode > once</forkMode>
<!--
<debugForkedProcess > true</debugForkedProcess>
-->
<parallel > false</parallel>
2014-11-17 14:53:12 -05:00
<!-- <argLine>${activemq - surefire - argline} - Dorg.jboss.byteman.verbose - Dorg.jboss.byteman.contrib.bmunit.verbose</argLine> -->
2014-10-31 06:20:28 -04:00
<!-- ' - noverify' is needed here to fix VerifyErrors on ScaleDownFailoverTest and ScaleDownFailureTest (and their subclasses). I got the tip from https://issues.jboss.org/browse/BYTEMAN - 248. -->
2014-11-17 14:53:12 -05:00
<argLine > ${activemq-surefire-argline} -noverify</argLine>
2014-10-31 06:20:28 -04:00
</configuration>
</plugin>
</plugins>
</build>
</project>