230 lines
8.1 KiB
XML
230 lines
8.1 KiB
XML
|
<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.hornetq.tests</groupId>
|
||
|
<artifactId>hornetq-tests-pom</artifactId>
|
||
|
<version>2.5.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>byteman-tests</artifactId>
|
||
|
<packaging>jar</packaging>
|
||
|
<name>HornetQ ByteMan Tests</name>
|
||
|
|
||
|
<properties>
|
||
|
<tools.jar>${java.home}/../lib/tools.jar</tools.jar>
|
||
|
<byteman.version>2.1.4.1</byteman.version>
|
||
|
<hornetq.basedir>${project.basedir}/../..</hornetq.basedir>
|
||
|
</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>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-core-client</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
<scope>test</scope>
|
||
|
<type>test-jar</type>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-server</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
<scope>test</scope>
|
||
|
<type>test-jar</type>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq.tests</groupId>
|
||
|
<artifactId>integration-tests</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
<scope>test</scope>
|
||
|
<type>test-jar</type>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq.tests</groupId>
|
||
|
<artifactId>unit-tests</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
<scope>test</scope>
|
||
|
<type>test-jar</type>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-jms-client</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-jms-server</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-ra</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hornetq</groupId>
|
||
|
<artifactId>hornetq-bootstrap</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jboss.javaee</groupId>
|
||
|
<artifactId>jboss-jca-api</artifactId>
|
||
|
</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>jboss.jbossts</groupId>
|
||
|
<artifactId>jbossts-common</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>apache-logging</groupId>
|
||
|
<artifactId>commons-logging</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jboss.spec.javax.transaction</groupId>
|
||
|
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
|
||
|
</dependency>
|
||
|
<!--this specifically for the JMS Bridge -->
|
||
|
<dependency>
|
||
|
<groupId>org.jboss</groupId>
|
||
|
<artifactId>jboss-transaction-spi</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jboss.javaee</groupId>
|
||
|
<artifactId>jboss-jaspi-api</artifactId>
|
||
|
</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>
|
||
|
<include>org/hornetq/byteman/tests/*.java</include>
|
||
|
</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>
|
||
|
<!--<argLine>${hornetq-surefire-argline} -Dorg.jboss.byteman.verbose -Dorg.jboss.byteman.contrib.bmunit.verbose</argLine>-->
|
||
|
<!-- '-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. -->
|
||
|
<argLine>${hornetq-surefire-argline} -noverify</argLine>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|