<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.jboss.byteman</groupId>
        <artifactId>byteman-root</artifactId>
        <version>4.0.13</version>
    </parent>

    <description>
        The tests module runs the JDK8[-] tests found in the agent tree
        on the bundled agent jar (byteman.jar) which includes the core
        agent code (taken from byteman-agent.jar) plus extra classes
        (taken from byteman-layer.jar and byteman-jigsaw.jar) needed to
        run on JDK9. It also runs some extra accessibility tests
        specific to JDK9[+] operation.
    </description>

    <artifactId>tests</artifactId>
    <packaging>pom</packaging>

    <name>tests</name>

    <properties>
        <maven.install.skip>true</maven.install.skip>
        <maven.deploy.skip>true</maven.deploy.skip>
        <debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</debug.args>
    </properties>

    <build>
        <!-- we need to rerun the same tests as are in the agent dir but using the bundled jar -->
        <testSourceDirectory>../agent/src/test/java</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipExec>true</skipExec>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <configuration>
                    <testClassesDirectory>../agent/target/test-classes</testClassesDirectory>
                </configuration>
                <!--
                    we have to do this the hard way by forking each test in a separate VM
                    running the byteman agent and the appropriate script

                    first we run each test interpreted. then we repeat them all setting
                    -Dorg.jboss.byteman.compile.to.bytecode so we also test the rules when compiled
                 -->
                <executions>
                    <!-- access tests specific to JDK9 -->
                    <execution>
                      <id>access.TestNonLookupAccess</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/access/TestNonLookupAccess.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/access/TestNonLookupAccess.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>access.TestAccess</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/access/TestAccess.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/access/TestAccess.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>access.TestAccess.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/access/TestAccess.class</include>
                         </includes>
                          <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/access/TestAccess.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>access.TestNonLookupAccess.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/access/TestNonLookupAccess.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/access/TestNonLookupAccess.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- java language operations -->
                    <execution>
                      <id>javaops.TestArithmetic</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestArithmetic.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestArithmetic.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestArray</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestArray.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestArray.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestAssign</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestAssign.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestAssign.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestComparison</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestComparison.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestComparison.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestField</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestField.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestField.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestLogical</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestLogical.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestLogical.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestMethod</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestMethod.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestMethod.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestNew</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestNew.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestNew.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestClassLiteral</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/javaops/TestClassLiteral.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestClassLiteral.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- location clauses -->
                    <execution>
                      <id>location.TestAll</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestAll.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestAll.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestAtNew</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestAtNew.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestAtNew.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestCall</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestCall.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestCall.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestEntry</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestEntry.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestEntry.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestExit</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestExit.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestExit.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestExceptionExit</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestExceptionExit.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestExceptionExit.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestLine</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestLine.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestLine.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestReadWrite</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestReadWrite.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestReadWrite.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestReadWriteParams</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestReadWriteParams.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestReadWriteParams.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestSynch</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestSynch.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestSynch.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>location.TestThrow</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/location/TestThrow.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestThrow.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- builtin helper methods -->
                    <execution>
                      <id>helpertests.TestCallerMatches</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/helpertests/TestCallerMatches.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestCallerMatches.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>helpertests.TestStackTrace</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/helpertests/TestStackTrace.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestStackTrace.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>helpertests.TestLinkMap</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/helpertests/TestLinkMap.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestLinkMap.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- miscellaneous tests -->
                    <execution>
                      <id>misc.TestInterfaceInjection</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestInterfaceInjection.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestInterfaceInjection.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestInvokeParamBinding</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestInvokeParamBinding.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestInvokeParamBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestOverridingInjection</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestOverridingInjection.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestOverridingInjection.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestOverridingInterfaceInjection</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestOverridingInterfaceInjection.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestOverridingInterfaceInjection.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestParamBinding</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestParamBinding.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestParamBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestRecursiveTriggers</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestRecursiveTriggers.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestRecursiveTriggers.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestReturnBindingAssignment</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestReturnBindingAssignment.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestReturnBindingAssignment.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestReturnBinding</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestReturnBinding.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestReturnBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestThrowBinding</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestThrowBinding.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestThrowBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestTriggerClassMethodBinding</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestTriggerClassMethodBinding.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestTriggerClassMethodBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestDowncast</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestDowncast.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestDowncast.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- bugfixes -->
                    <execution>
                      <id>bugfixes.TestAtNewWithCountAll</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAtNewWithCountAll.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAtNewWithCountAll.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestEmptySignature</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestEmptySignature.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestEmptySignature.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestEnclosedSynchronizationPropagation</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestEnclosedSynchronizationPropagation.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestEnclosedSynchronizationPropagation.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestInterfaceHierarchy</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestInterfaceHierarchy.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestInterfaceHierarchy.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMethodActualAgainstFormal</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMethodActualAgainstFormal.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodActualAgainstFormal.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMethodClauseReturnType</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMethodClauseReturnType.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodClauseReturnType.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- dynamic rule submission
                        n.b. this test does not use a script on the command line
                        instead it sets listener true and uplaods the rules from the test program
                        this is because the test needs to load the rule after the test class is loaded
                        in order to create the conditions for the bug to occur
                        n.b.b. this test is not repeated compiled because it is testing handling of the method spec
                    -->
                    <execution>
                      <id>bugfixes.TestMethodClauseReturnTypeDynamic</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMethodClauseReturnTypeDynamic.class</include>
                         </includes>
                          <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=listener:true</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMethodParamAssign</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMethodParamAssign.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodParamAssign.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMethodParamName</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMethodParamName.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodParamName.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMultiMethodMatch</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMultiMethodMatch.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMultiMethodMatch.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestPromotePrimitiveToObject</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestPromotePrimitiveToObject.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestPromotePrimitiveToObject.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestStringAsCharSequence</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestStringAsCharSequence.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestStringAsCharSequence.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestThrowAction</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestThrowAction.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowAction.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestThrowError</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestThrowError.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowError.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestThrowRuleInjection</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestThrowRuleInjection.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowRuleInjection.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestWaitAfterSignalWakeMustMeet</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestWaitAfterSignalWakeMustMeet.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestWaitAfterSignalWakeMustMeet.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestThrowRuntimeException</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestThrowRuntimeException.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowRuntimeException.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestAfterCallAssign</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAfterCallAssign.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAfterCallAssign.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestAbstractInterfaceCall</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAbstractInterfaceCall.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAbstractInterfaceCall.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMaxStackComputation</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMaxStackComputation.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMaxStackComputation.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestBooleanComparisons</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestBooleanComparisons.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestBooleanComparisons.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestStackHeight</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestStackHeight.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestStackHeight.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestLocalUpdateType</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestLocalUpdateType.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestLocalUpdateType.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestRendezvousTimeout</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestRendezvousTimeout.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestRendezvousTimeout.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestJoinWaitTimeout</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestJoinWaitTimeout.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestJoinWaitTimeout.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestPlusExpressionCoerce</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestPlusExpressionCoerce.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestPlusExpressionCoerce.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestArrayArgTypeCheck</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestArrayArgTypeCheck.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestArrayArgTypeCheck.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestBooleanLocal</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestBooleanLocal.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestBooleanLocal.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestDoubleEntryBookKeeping</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestDoubleEntryBookKeeping.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestDoubleEntryBookKeeping.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestConstructorArgUpcast</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestConstructorArgUpcast.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestConstructorArgUpcast.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestInnerClasses</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestInnerClasses.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestInnerClasses.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestTraceOpenAndWrite</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestTraceOpenAndWrite.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestTraceOpenAndWrite.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- dynamic rule submission
                        n.b. submit test does not use a script on the command line
                        instead it sets listener true and uplaods the rules from the test program
                    -->
                    <execution>
                      <id>submit.TestSubmit</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/submit/TestSubmit.class</include>
                         </includes>
                         <argLine>-javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=listener:true</argLine>
                      </configuration>
                    </execution>
                    <!-- now the executions for the compiled rules -->
                    <!-- java language operations compiled -->
                    <execution>
                        <id>javaops.TestArithmetic.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestArithmetic.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestArithmetic.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestArray.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestArray.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestArray.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestAssign.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestAssign.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestAssign.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestComparison.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestComparison.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestComparison.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestField.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestField.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestField.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestLogical.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestLogical.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestLogical.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestMethod.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestMethod.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestMethod.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestNew.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestNew.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestNew.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>javaops.TestClassLiteral.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/javaops/TestClassLiteral.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/javaops/TestClassLiteral.btm</argLine>
                        </configuration>
                    </execution>
                    <!-- location clauses compiled -->
                    <execution>
                        <id>location.TestAll.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestAll.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestAll.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestAtNew.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestAtNew.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestAtNew.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestCall.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestCall.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestCall.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestEntry.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestEntry.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestEntry.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestExit.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestExit.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestExit.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestExceptionExit.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestExceptionExit.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestExceptionExit.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestLine.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestLine.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestLine.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestReadWrite.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestReadWrite.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestReadWrite.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestReadWriteParams.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestReadWriteParams.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestReadWriteParams.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestSynch.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestSynch.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestSynch.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>location.TestThrow.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/location/TestThrow.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/location/TestThrow.btm</argLine>
                        </configuration>
                    </execution>
                    <!-- builtin methods compiled -->
                    <execution>
                        <id>helpertests.TestCallerMatches.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/helpertests/TestCallerMatches.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestCallerMatches.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>helpertests.TestStackTrace.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/helpertests/TestStackTrace.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestStackTrace.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>helpertests.TestLinkMap.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/helpertests/TestLinkMap.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/helpertests/TestLinkMap.btm</argLine>
                        </configuration>
                    </execution>
                    <!-- miscellenaeous tests compiled -->
                    <execution>
                        <id>misc.TestInterfaceInjection.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestInterfaceInjection.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestInterfaceInjection.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestInvokeParamBinding.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestInvokeParamBinding.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestInvokeParamBinding.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestOverridingInjection.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestOverridingInjection.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestOverridingInjection.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestOverridingInterfaceInjection.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestOverridingInterfaceInjection.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestOverridingInterfaceInjection.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestParamBinding.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestParamBinding.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestParamBinding.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestRecursiveTriggers.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestRecursiveTriggers.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestRecursiveTriggers.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestReturnBindingAssignment.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestReturnBindingAssignment.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestReturnBindingAssignment.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestReturnBinding.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestReturnBinding.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestReturnBinding.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>misc.TestThrowBinding.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/misc/TestThrowBinding.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestThrowBinding.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestTriggerClassMethodBinding.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestTriggerClassMethodBinding.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestTriggerClassMethodBinding.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>misc.TestDowncast.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/misc/TestDowncast.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/misc/TestDowncast.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- bugfixes compiled -->
                    <execution>
                      <id>bugfixes.TestAtNewWithCountAll.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAtNewWithCountAll.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAtNewWithCountAll.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestEmptySignature.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestEmptySignature.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestEmptySignature.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestEnclosedSynchronizationPropagation.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestEnclosedSynchronizationPropagation.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestEnclosedSynchronizationPropagation.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestInterfaceHierarchy.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestInterfaceHierarchy.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestInterfaceHierarchy.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestMethodActualAgainstFormal.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestMethodActualAgainstFormal.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodActualAgainstFormal.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestMethodClauseReturnType.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestMethodClauseReturnType.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodClauseReturnType.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestMethodParamAssign.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestMethodParamAssign.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodParamAssign.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestMethodParamName.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestMethodParamName.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMethodParamName.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestMultiMethodMatch.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestMultiMethodMatch.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMultiMethodMatch.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestPromotePrimitiveToObject.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestPromotePrimitiveToObject.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestPromotePrimitiveToObject.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestStringAsCharSequence.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestStringAsCharSequence.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestStringAsCharSequence.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestThrowAction.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestThrowAction.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowAction.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestThrowError.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestThrowError.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowError.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestThrowRuleInjection.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestThrowRuleInjection.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowRuleInjection.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bugfixes.TestWaitAfterSignalWakeMustMeet.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/bugfixes/TestWaitAfterSignalWakeMustMeet.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestWaitAfterSignalWakeMustMeet.btm</argLine>
                        </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestThrowRuntimeException.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestThrowRuntimeException.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestThrowRuntimeException.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestAfterCallAssign.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAfterCallAssign.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAfterCallAssign.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestAbstractInterfaceCall.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestAbstractInterfaceCall.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestAbstractInterfaceCall.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestMaxStackComputation.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestMaxStackComputation.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestMaxStackComputation.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestBooleanComparisons.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestBooleanComparisons.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestBooleanComparisons.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestStackHeight.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestStackHeight.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestStackHeight.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestLocalUpdateType.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestLocalUpdateType.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestLocalUpdateType.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestRendezvousTimeout.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestRendezvousTimeout.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestRendezvousTimeout.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestJoinWaitTimeout.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestJoinWaitTimeout.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestJoinWaitTimeout.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestPlusExpressionCoerce.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestPlusExpressionCoerce.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestPlusExpressionCoerce.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestArrayArgTypeCheck.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestArrayArgTypeCheck.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestArrayArgTypeCheck.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestBooleanLocal.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestBooleanLocal.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestBooleanLocal.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestDoubleEntryBookKeeping.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestDoubleEntryBookKeeping.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestDoubleEntryBookKeeping.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestConstructorArgUpcast.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                         <forkCount>1</forkCount>
                         <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestConstructorArgUpcast.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestConstructorArgUpcast.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>bugfixes.TestTraceOpenAndWrite.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestTraceOpenAndWrite.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestTraceOpenAndWrite.btm</argLine>
                      </configuration>
                    </execution>
                    <execution>
                      <id>javaops.TestInnerClasses.compiled</id>
                      <phase>integration-test</phase>
                      <goals>
                        <goal>integration-test</goal>
                        <goal>verify</goal>
                      </goals>
                      <configuration>
                          <forkCount>1</forkCount>
                          <reuseForks>true</reuseForks>
                         <includes>
                           <include>org/jboss/byteman/tests/bugfixes/TestInnerClasses.class</include>
                         </includes>
                         <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=script:${project.build.directory}/../../agent/src/test/resources/scripts/bugfixes/TestInnerClasses.btm</argLine>
                      </configuration>
                    </execution>
                    <!-- dynamic rule submission compiled
                      submit test does not use a script on the command line
                      instead it sets listener true and uplaods the rules from the test program
                    -->
                    <execution>
                        <id>submit.TestSubmit.compiled</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <forkCount>1</forkCount>
                            <reuseForks>true</reuseForks>
                            <includes>
                                <include>org/jboss/byteman/tests/submit/TestSubmit.class</include>
                            </includes>
                            <argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=listener:true</argLine>
                        </configuration>
                    </execution>
					<!-- check rules -->
					<execution>
						<id>check.TestRuleCheck</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
						<configuration>
                            <forkCount>1</forkCount>
                            <reuseForks>true</reuseForks>
                            <test>TestRuleCheck</test>
                            <includes>
                                <include>org/jboss/byteman/tests/check/TestRuleCheck.class</include>
                            </includes>
							<argLine>-Dorg.jboss.byteman.compile.to.bytecode -javaagent:${project.build.directory}/../../byteman/target/byteman-${project.version}.jar=listener:true</argLine>
                        </configuration>
					</execution>
                </executions>
            </plugin>
            <!--
                verify stage ensures each test generated a report file
                this catches cases where the VMfails to start because the
                agent fails to load or cannot read script files
            -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-verifier-plugin</artifactId>
                <configuration>
                    <verificationFile>../agent/verification.xml</verificationFile>
                    <verificationFile>access-verification.xml</verificationFile>
                    <failOnError>true</failOnError>
                </configuration>
                <executions>
                    <execution>
                        <id>main</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
            <artifactId>java-cup</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.byteman</groupId>
            <artifactId>byteman</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.byteman</groupId>
            <artifactId>byteman-submit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
