<?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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-osgi-platforms</artifactId>
    <version>7.18.0.Final</version>
  </parent>

  <artifactId>kie-platform-fuse-6.3</artifactId>
  <packaging>jar</packaging>

  <name>KIE :: OSGi Platforms :: Fuse 6.3</name>
  <description>Alignment with JBoss Fuse 6.3.</description>

  <properties>
    <!-- properties -->
    <excludedGroups>org.drools.compiler.TurtleTestCategory</excludedGroups>
    <surefire.forkCount>2</surefire.forkCount>

    <maven.btm.maxPoolSize>16</maven.btm.maxPoolSize>
    <maven.hibernate.dialect>org.hibernate.dialect.H2Dialect</maven.hibernate.dialect>
    <maven.datasource.classname>bitronix.tm.resource.jdbc.lrc.LrcXADataSource</maven.datasource.classname>
    <maven.jdbc.driver.class>org.h2.Driver</maven.jdbc.driver.class>
    <maven.jdbc.db.name></maven.jdbc.db.name>
    <maven.jdbc.db.port></maven.jdbc.db.port>
    <maven.jdbc.db.server></maven.jdbc.db.server>
    <maven.jdbc.driver.jar></maven.jdbc.driver.jar>
    <maven.jdbc.username></maven.jdbc.username>
    <maven.jdbc.password></maven.jdbc.password>
    <maven.jdbc.url>jdbc:h2:</maven.jdbc.url>
    <maven.jdbc.schema>public</maven.jdbc.schema>

    <!-- versions -->
    <version.com.fasterxml.jackson.core>2.6.3</version.com.fasterxml.jackson.core>
    <version.com.google.protobuf>2.6.1</version.com.google.protobuf>
    <version.com.google.guava>18.0.0.redhat-1</version.com.google.guava>
    <version.com.sun.mail>1.5.5</version.com.sun.mail>
    <version.commons-codec>1.10.0.redhat-5</version.commons-codec>
    <version.commons-io>2.4.0.redhat-1</version.commons-io>
    <version.javax.annotation>1.2</version.javax.annotation>
    <version.javax.enterprise>1.2</version.javax.enterprise>
    <version.javax.interceptor>1.2</version.javax.interceptor>
    <version.javax.servlet>3.1.0.redhat-1</version.javax.servlet>
    <version.joda-time>2.9.2</version.joda-time>
    <version.org.apache.commons.commons-collections4>4.1</version.org.apache.commons.commons-collections4>
    <version.org.apache.commons.lang3>3.4</version.org.apache.commons.lang3>
    <version.org.apache.commons.math3>3.6</version.org.apache.commons.math3>
    <version.org.apache.geronimo.specs-ejb_3.1>1.0</version.org.apache.geronimo.specs-ejb_3.1>
    <version.org.apache.geronimo.specs-jms_1.1>1.1.1</version.org.apache.geronimo.specs-jms_1.1>
    <version.org.apache.geronimo.specs-jpa_2.0>1.1</version.org.apache.geronimo.specs-jpa_2.0>
    <version.org.apache.geronimo.specs.jta_1.1>1.1.1</version.org.apache.geronimo.specs.jta_1.1>
    <version.org.apache.servicemix.specs>2.7.0</version.org.apache.servicemix.specs>
    <version.org.codehaus.jackson>1.9.13</version.org.codehaus.jackson>
    <!-- the ecj bundle on the central is malformed as both 'META-INF' and 'META-INF/MANIFEST.MF' entries are NOT the first 2 entries inside the jar when -->
    <!-- one verifies this through 'jar -tf ecj-4.2.2.jar'. one possible workaround for this is to make use of the wrap protocol. -->
    <version.org.eclipse.jdt.core.compiler>4.4.2.redhat-1</version.org.eclipse.jdt.core.compiler>
    <version.org.hibernate>4.2.22.Final-redhat-1</version.org.hibernate>
    <version.org.hibernate.common>4.0.4.Final</version.org.hibernate.common>
    <version.org.javassist>3.19.0-GA</version.org.javassist>
    <version.org.jboss.resteasy>2.3.10.Final-redhat-1</version.org.jboss.resteasy>
    <version.org.mvel>2.3.1.Final</version.org.mvel>
    <version.org.ops4j.pax.logging>1.9.1</version.org.ops4j.pax.logging>
    <version.org.osgi>5.0.0</version.org.osgi>
    <version.servicemix.bundles.antlr-runtime>3.5.2_1</version.servicemix.bundles.antlr-runtime>
    <version.servicemix.bundles.dom4j>1.6.1_5</version.servicemix.bundles.dom4j>
    <version.servicemix.bundles.javax-inject>1_2</version.servicemix.bundles.javax-inject>
    <version.servicemix.bundles.jaxb>2.2.11_1</version.servicemix.bundles.jaxb>
    <version.servicemix.bundles.jsoup>1.5.2_2</version.servicemix.bundles.jsoup>
    <version.servicemix.bundles.poi>3.15_1</version.servicemix.bundles.poi>
    <version.servicemix.bundles.quartz>1.8.6_1</version.servicemix.bundles.quartz>
    <version.servicemix.bundles.spring>3.2.18.RELEASE_1</version.servicemix.bundles.spring>
    <version.servicemix.bundles.xstream>1.4.8_1</version.servicemix.bundles.xstream>
  </properties>

  <dependencyManagement>
    <dependencies>

      <!-- droolsjbpm-knowledge dependencies -->

      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-api</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-api</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-internal</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-internal</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-spring</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-spring</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-ci-osgi</artifactId>
        <optional>true</optional>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.server</groupId>
        <artifactId>kie-server-api</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie.server</groupId>
        <artifactId>kie-server-api</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-common</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-common</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.kie.server</groupId>
        <artifactId>kie-server-client</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.server</groupId>
        <artifactId>kie-server-client</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-jaxb</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-jaxb</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.kie.remote.ws</groupId>
        <artifactId>kie-remote-ws-common</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.xml.ws</groupId>
            <artifactId>jboss-jaxws-api_2.2_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie.remote.ws</groupId>
        <artifactId>kie-remote-ws-common</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.xml.ws</groupId>
            <artifactId>jboss-jaxws-api_2.2_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-client</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.xml.ws</groupId>
            <artifactId>jboss-jaxws-api_2.2_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.jms</groupId>
            <artifactId>jboss-jms-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.kie.remote</groupId>
        <artifactId>kie-remote-client</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.xml.ws</groupId>
            <artifactId>jboss-jaxws-api_2.2_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.jms</groupId>
            <artifactId>jboss-jms-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <!-- drools dependencies -->

      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-core</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-core</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-compiler</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
          <exclusion>
            <artifactId>xstream</artifactId>
            <groupId>com.thoughtworks.xstream</groupId>
          </exclusion>
          <exclusion>
            <groupId>org.antlr</groupId>
            <artifactId>antlr-runtime</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-compiler</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </exclusion>
          <exclusion>
            <artifactId>xstream</artifactId>
            <groupId>com.thoughtworks.xstream</groupId>
          </exclusion>
          <exclusion>
            <groupId>org.antlr</groupId>
            <artifactId>antlr-runtime</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-templates</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-templates</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-decisiontables</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-decisiontables</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-persistence-jpa</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.1_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-persistence-jpa</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <exclusions>
          <exclusion>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.1_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.uberfire</groupId>
        <artifactId>uberfire-commons</artifactId>
        <version>${version.org.uberfire}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.soup</groupId>
        <artifactId>kie-soup-project-datamodel-api</artifactId>
        <version>${version.org.uberfire}</version>
      </dependency>
      <dependency>
        <groupId>org.kie.soup</groupId>
        <artifactId>kie-soup-project-datamodel-commons</artifactId>
        <version>${version.org.uberfire}</version>
      </dependency>
      <dependency>
        <groupId>org.uberfire</groupId>
        <artifactId>uberfire-commons</artifactId>
        <version>${version.org.uberfire}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.kie.soup</groupId>
        <artifactId>kie-soup-project-datamodel-api</artifactId>
        <version>${version.org.uberfire}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.kie.soup</groupId>
        <artifactId>kie-soup-project-datamodel-commons</artifactId>
        <version>${version.org.uberfire}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-datamodel-api</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-datamodel-api</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-commons</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-commons</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-guided-dtable</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.drools</groupId>
        <artifactId>drools-workbench-models-guided-dtable</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>

      <!-- jbpm dependencies -->

      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-flow</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-flow</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-flow-builder</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-flow-builder</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-query-jpa</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-query-jpa</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-audit</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-audit</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-bpmn2</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-bpmn2</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-persistence-jpa</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-persistence-jpa</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-jpa</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-jpa</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-core</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-core</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-workitems</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-workitems</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-audit</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-human-task-audit</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-runtime-manager</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.eclipse.aether</groupId>
            <artifactId>aether-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-runtime-manager</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.eclipse.aether</groupId>
            <artifactId>aether-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-test</artifactId>
        <version>${project.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jbpm</groupId>
        <artifactId>jbpm-kie-services</artifactId>
        <version>${project.version}</version>
        <scope>test</scope>
      </dependency>

      <!-- droolsjbpm-optaplanner dependencies -->

      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-core</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-core</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-persistence-common</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-persistence-common</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-persistence-xstream</artifactId>
        <version>${project.version}</version>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.optaplanner</groupId>
        <artifactId>optaplanner-persistence-xstream</artifactId>
        <version>${project.version}</version>
        <classifier>tests</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <!-- Version alignment -->

      <!-- Changed version of com.fasterxml.jackson.core:jackson-* -->
      <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-annotations</artifactId>
        <version>${version.com.fasterxml.jackson.core}</version>
      </dependency>
      <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-core</artifactId>
        <version>${version.com.fasterxml.jackson.core}</version>
      </dependency>
      <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>${version.com.fasterxml.jackson.core}</version>
      </dependency>
      <!-- Changed version of com.google.guava:guava -->
      <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>${version.com.google.guava}</version>
      </dependency>
      <!-- Changed version of com.google.protobuf:protobuf-java -->
      <dependency>
        <groupId>com.google.protobuf</groupId>
        <artifactId>protobuf-java</artifactId>
        <version>${version.com.google.protobuf}</version>
      </dependency>
      <!-- Replacement of com.sun.xml.bind:jaxb-impl -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId>
        <version>${version.servicemix.bundles.jaxb}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.xml.stream</groupId>
            <artifactId>stax-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Replacement of com.sun.xml.bind:jaxb-xjc -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.jaxb-xjc</artifactId>
        <version>${version.servicemix.bundles.jaxb}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.xml.stream</groupId>
            <artifactId>stax-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-activation_1.1_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Replacement of com.thoughtworks.xstream:xstream -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.xstream</artifactId>
        <version>${version.servicemix.bundles.xstream}</version>
      </dependency>
      <!-- Changed version of commons-codec -->
      <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>${version.commons-codec}</version>
      </dependency>
      <!-- Replacement of dom4j:dom4j -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.dom4j</artifactId>
        <version>${version.servicemix.bundles.dom4j}</version>
        <exclusions>
          <exclusion>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Replacement of javax.activation:activation -->
      <dependency>
        <groupId>org.apache.servicemix.specs</groupId>
        <artifactId>org.apache.servicemix.specs.activation-api-1.1</artifactId>
        <version>${version.org.apache.servicemix.specs}</version>
      </dependency>
      <!-- Replacement of older javax.enterprise:cdi-api and its dependencies -->
      <dependency>
        <groupId>javax.enterprise</groupId>
        <artifactId>cdi-api</artifactId>
        <version>${version.javax.enterprise}</version>
        <exclusions>
          <exclusion>
            <groupId>javax.inject</groupId>
            <artifactId>javax.inject</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Replacement of javax.annotation:jsr250-api -->
      <dependency>
        <groupId>javax.annotation</groupId>
        <artifactId>javax.annotation-api</artifactId>
        <version>${version.javax.annotation}</version>
      </dependency>
      <!-- Replacement of javax.inject:javax.inject -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
        <version>${version.servicemix.bundles.javax-inject}</version>
      </dependency>
      <!-- Replacement of javax.mail:mail -->
      <dependency>
        <groupId>com.sun.mail</groupId>
        <artifactId>javax.mail</artifactId>
        <version>${version.com.sun.mail}</version>
      </dependency>
      <!-- Replacement of javax.servlet:* -->
      <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>${version.javax.servlet}</version>
      </dependency>
      <!-- Replacement of javax.xml.stream:stax-api -->
      <dependency>
        <groupId>org.apache.servicemix.specs</groupId>
        <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId>
        <version>${version.org.apache.servicemix.specs}</version>
      </dependency>
      <!-- Changed version of joda-time:joda-time -->
      <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>${version.joda-time}</version>
      </dependency>
      <!-- Replacement of org.antlr:antlr-runtime -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.antlr-runtime</artifactId>
        <version>${version.servicemix.bundles.antlr-runtime}</version>
      </dependency>
      <!-- Changed version of org.apache.commons:commons-collections4 (for POI) -->
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-collections4</artifactId>
        <version>${version.org.apache.commons.commons-collections4}</version>
      </dependency>
      <!-- Changed version of org.apache.commons:commons-math3 -->
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-math3</artifactId>
        <version>${version.org.apache.commons.math3}</version>
      </dependency>
      <!-- Replacement of org.apache.poi:poi -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.poi</artifactId>
        <version>${version.servicemix.bundles.poi}</version>
        <exclusions>
          <exclusion>
            <groupId>avalon-framework</groupId>
            <artifactId>avalon-framework</artifactId>
          </exclusion>
          <exclusion>
            <groupId>com.github.virtuald</groupId>
            <artifactId>curvesapi</artifactId>
          </exclusion>
          <exclusion>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </exclusion>
          <exclusion>
            <groupId>logkit</groupId>
            <artifactId>logkit</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
          </exclusion>
          <exclusion>
            <groupId>stax</groupId>
            <artifactId>stax-api</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Changed version of org.codehaus.jackson:* -->
      <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-core-asl</artifactId>
        <version>${version.org.codehaus.jackson}</version>
      </dependency>
      <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>${version.org.codehaus.jackson}</version>
      </dependency>
      <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-xc</artifactId>
        <version>${version.org.codehaus.jackson}</version>
      </dependency>
      <!-- Changed version of org.eclipse.jdt.core.compiler:ecj -->
      <dependency>
        <groupId>org.eclipse.jdt.core.compiler</groupId>
        <artifactId>ecj</artifactId>
        <version>${version.org.eclipse.jdt.core.compiler}</version>
      </dependency>
      <!-- Replacement of org.hibernate.javax.persistence:hibernate-jpa-2.0-api -->
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-jpa_2.0_spec</artifactId>
        <version>${version.org.apache.geronimo.specs-jpa_2.0}</version>
      </dependency>
      <!-- Dependency on org.hornetq:hornetq-core-client for org.kie.remote:kie-remote-client -->
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-core-client</artifactId>
        <version>${version.org.hornetq}</version>
      </dependency>
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-commons</artifactId>
        <version>${version.org.hornetq}</version>
      </dependency>
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-journal</artifactId>
        <version>${version.org.hornetq}</version>
      </dependency>
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-jms-client</artifactId>
        <version>${version.org.hornetq}</version>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.jms</groupId>
            <artifactId>jboss-jms-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>io.netty</groupId>
            <artifactId>netty</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Changed version of org.codehaus.janino:janino -->
      <dependency>
        <groupId>org.codehaus.janino</groupId>
        <artifactId>janino</artifactId>
        <version>${version.org.codehaus.janino}</version>
      </dependency>
      <!-- Changed version of org.javassist:javassist -->
      <dependency>
        <groupId>org.javassist</groupId>
        <artifactId>javassist</artifactId>
        <version>${version.org.javassist}</version>
      </dependency>
      <!-- Changed version of org.jboss.resteasy:jaxrs-api -->
      <dependency>
        <groupId>org.jboss.resteasy</groupId>
        <artifactId>jaxrs-api</artifactId>
        <version>${version.org.jboss.resteasy}</version>
      </dependency>
      <!-- Replacement of org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec -->
      <dependency>
        <groupId>javax.interceptor</groupId>
        <artifactId>javax.interceptor-api</artifactId>
        <version>${version.javax.interceptor}</version>
      </dependency>
      <!-- Replacement of org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec -->
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-jms_1.1_spec</artifactId>
        <version>${version.org.apache.geronimo.specs-jms_1.1}</version>
      </dependency>
      <!-- Replacement of org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec -->
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-jta_1.1_spec</artifactId>
        <version>${version.org.apache.geronimo.specs.jta_1.1}</version>
      </dependency>
      <!-- Replacement of org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.2_spec -->
      <dependency>
        <groupId>org.apache.servicemix.specs</groupId>
        <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
        <version>${version.org.apache.servicemix.specs}</version>
        <exclusions>
          <exclusion>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-activation_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Replacement of org.jboss.spec.javax.xml.xml.ws:jboss-jaxws-api_2.2_spec -->
      <dependency>
        <groupId>org.apache.servicemix.specs</groupId>
        <artifactId>org.apache.servicemix.specs.jaxws-api-2.2</artifactId>
        <version>${version.org.apache.servicemix.specs}</version>
      </dependency>
      <!-- Replacement of org.jsoup:jsoup -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.jsoup</artifactId>
        <version>${version.servicemix.bundles.jsoup}</version>
      </dependency>
      <!-- Changed version of org.mvel:mvel2 -->
      <dependency>
        <groupId>org.mvel</groupId>
        <artifactId>mvel2</artifactId>
        <version>${version.org.mvel}</version>
      </dependency>
      <!-- Changed version of org.quartz-scheduler:quartz -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.quartz</artifactId>
        <version>${version.servicemix.bundles.quartz}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-aop -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-aop</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-beans -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-beans</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-context -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-context</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-core -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-core</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-expression -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-expression</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-jdbc -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-jdbc</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-orm -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-orm</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Replacement of org.springframework:spring-tx -->
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-tx</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
      </dependency>
      <!-- Changed version of org.osgi:org.osgi.compendium -->
      <dependency>
        <groupId>org.osgi</groupId>
        <artifactId>org.osgi.compendium</artifactId>
        <version>${version.org.osgi}</version>
      </dependency>
      <!-- Changed version of org.osgi:org.osgi.core -->
      <dependency>
        <groupId>org.osgi</groupId>
        <artifactId>org.osgi.core</artifactId>
        <version>${version.org.osgi}</version>
      </dependency>
      <!-- Replacement of org.slf4j:slf4j-api -->
      <dependency>
        <groupId>org.ops4j.pax.logging</groupId>
        <artifactId>pax-logging-api</artifactId>
        <version>${version.org.ops4j.pax.logging}</version>
      </dependency>

      <!-- Additional required test dependencies -->

      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>${version.org.apache.commons.lang3}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>net.java.dev.glazedlists</groupId>
        <artifactId>glazedlists_java15</artifactId>
        <version>${version.net.java.dev.glazedlists}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>${version.org.slf4j}</version>
        <scope>test</scope>
      </dependency>
      <!--dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>${version.commons-logging}</version>
        <scope>test</scope>
      </dependency-->
      <dependency><!-- For unit test logging: configure in src/test/resources/logback-test.xml -->
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>${version.ch.qos.logback}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.byteman</groupId>
        <artifactId>byteman-bmunit</artifactId>
        <version>${version.org.jboss.byteman}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.assertj</groupId>
        <artifactId>assertj-core</artifactId>
        <version>${version.org.assertj}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${version.commons-io}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.weld.se</groupId>
        <artifactId>weld-se-core</artifactId>
        <version>${version.org.jboss.weld.weld}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>${version.org.hsqldb}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-test-util</artifactId>
        <version>${project.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.btm</groupId>
        <artifactId>btm</artifactId>
        <version>${version.org.codehaus.btm}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>${version.com.h2database}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hibernate.common</groupId>
        <artifactId>hibernate-commons-annotations</artifactId>
        <version>${version.org.hibernate.common}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-entitymanager</artifactId>
        <version>${version.org.hibernate}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>${version.org.hibernate}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>xmlunit</groupId>
        <artifactId>xmlunit</artifactId>
        <version>${version.xmlunit}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-server</artifactId>
        <version>${version.org.hornetq}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>io.netty</groupId>
            <artifactId>netty</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.hornetq</groupId>
        <artifactId>hornetq-jms-server</artifactId>
        <version>${version.org.hornetq}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.spec.javax.jms</groupId>
            <artifactId>jboss-jms-api_1.1_spec</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.1_spec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>${version.org.mockito}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.powermock</groupId>
        <artifactId>powermock-api-mockito</artifactId>
        <version>${version.org.powermock}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.powermock</groupId>
        <artifactId>powermock-module-junit4</artifactId>
        <version>${version.org.powermock}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.subethamail</groupId>
        <artifactId>subethasmtp-wiser</artifactId>
        <scope>test</scope>
        <version>${version.org.subethamail}</version>
        <exclusions>
          <exclusion>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </exclusion>
          <exclusion>
            <groupId>logkit</groupId>
            <artifactId>logkit</artifactId>
          </exclusion>
          <exclusion>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>com.unboundid</groupId>
        <artifactId>unboundid-ldapsdk</artifactId>
        <version>${version.com.unboundid}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.yaml</groupId>
        <artifactId>snakeyaml</artifactId>
        <version>${version.org.yaml.snakeyaml}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.reflections</groupId>
        <artifactId>reflections</artifactId>
        <version>${version.org.reflections}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-ejb_3.1_spec</artifactId>
        <version>${version.org.apache.geronimo.specs-ejb_3.1}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.spring-test</artifactId>
        <version>${version.servicemix.bundles.spring}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.github.tomakehurst</groupId>
        <artifactId>wiremock</artifactId>
        <version>${version.com.github.tomakehurst.wiremock}</version>
        <classifier>standalone</classifier>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>jetty</artifactId>
          </exclusion>
          <exclusion>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-server</artifactId>
        <version>${version.org.eclipse.jetty}</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.eclipse.jetty.orbit</groupId>
            <artifactId>javax.servlet</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-servlet</artifactId>
        <version>${version.org.eclipse.jetty}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-servlets</artifactId>
        <version>${version.org.eclipse.jetty}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.simpleframework</groupId>
        <artifactId>simple-http</artifactId>
        <version>${version.org.simpleframework}</version>
        <scope>test</scope>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <dependencies>

    <!-- droolsjbpm-knowledge dependencies -->

    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-api</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-internal</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-internal</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-spring</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie</groupId>-->
      <!--<artifactId>kie-spring</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-ci-osgi</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.kie.server</groupId>
      <artifactId>kie-server-api</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie.server</groupId>-->
      <!--<artifactId>kie-server-api</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie.remote</groupId>
      <artifactId>kie-remote-common</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie.remote</groupId>-->
      <!--<artifactId>kie-remote-common</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie.server</groupId>
      <artifactId>kie-server-client</artifactId>
      <exclusions>
        <exclusion>
          <artifactId>jboss-jms-api_1.1_spec</artifactId>
          <groupId>org.jboss.spec.javax.jms</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie.server</groupId>-->
      <!--<artifactId>kie-server-client</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie.remote</groupId>
      <artifactId>kie-remote-jaxb</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kie.remote</groupId>
      <artifactId>kie-remote-jaxb</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kie.remote.ws</groupId>
      <artifactId>kie-remote-ws-common</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie.remote.ws</groupId>-->
      <!--<artifactId>kie-remote-ws-common</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie.remote</groupId>
      <artifactId>kie-remote-client</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.kie.remote</groupId>-->
      <!--<artifactId>kie-remote-client</artifactId>-->
      <!--<classifier>tests</classifier>-->
    <!--</dependency>-->

    <!-- drools dependencies -->

    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-core</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-compiler</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-compiler</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-templates</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-templates</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-decisiontables</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-decisiontables</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-persistence-jpa</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-persistence-jpa</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.uberfire</groupId>
      <artifactId>uberfire-commons</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kie.soup</groupId>
      <artifactId>kie-soup-project-datamodel-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-workbench-models-datamodel-api</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-workbench-models-datamodel-api</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.kie.soup</groupId>
      <artifactId>kie-soup-project-datamodel-commons</artifactId>
    </dependency>
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-workbench-models-commons</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-workbench-models-commons</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-workbench-models-guided-dtable</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.drools</groupId>-->
      <!--<artifactId>drools-workbench-models-guided-dtable</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->

    <!-- jbpm dependencies -->

    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-flow</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-flow</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-flow-builder</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-flow-builder</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-query-jpa</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-query-jpa</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-audit</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-audit</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-bpmn2</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-bpmn2</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-persistence-jpa</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-persistence-jpa</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-human-task-jpa</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-human-task-jpa</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-human-task-core</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-human-task-core</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-human-task-workitems</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-human-task-workitems</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-human-task-audit</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-human-task-audit</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-runtime-manager</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.jbpm</groupId>-->
      <!--<artifactId>jbpm-runtime-manager</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->

    <!-- droolsjbpm-optaplanner dependencies -->

    <dependency>
      <groupId>org.optaplanner</groupId>
      <artifactId>optaplanner-core</artifactId>
      <exclusions>
        <exclusion>
          <artifactId>xstream</artifactId>
          <groupId>com.thoughtworks.xstream</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.optaplanner</groupId>-->
      <!--<artifactId>optaplanner-core</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.optaplanner</groupId>
      <artifactId>optaplanner-persistence-common</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.optaplanner</groupId>-->
      <!--<artifactId>optaplanner-persistence-common</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->
    <dependency>
      <groupId>org.optaplanner</groupId>
      <artifactId>optaplanner-persistence-xstream</artifactId>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.optaplanner</groupId>-->
      <!--<artifactId>optaplanner-persistence-xstream</artifactId>-->
      <!--<classifier>tests</classifier>-->
      <!--<scope>test</scope>-->
    <!--</dependency>-->

    <!-- Transitive dependencies provided by Fuse 6.3 -->

    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-annotations</artifactId>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-core</artifactId>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.protobuf</groupId>
      <artifactId>protobuf-java</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.jaxb-xjc</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.xstream</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.dom4j</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.specs</groupId>
      <artifactId>org.apache.servicemix.specs.activation-api-1.1</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.enterprise</groupId>
      <artifactId>cdi-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.annotation</groupId>
      <artifactId>javax.annotation-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.mail</groupId>
      <artifactId>javax.mail</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.antlr-runtime</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-collections4</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-math3</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.poi</artifactId>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-core-asl</artifactId>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-mapper-asl</artifactId>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-xc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jdt.core.compiler</groupId>
      <artifactId>ecj</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jpa_2.0_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-core-client</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-commons</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-journal</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-jms-client</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.interceptor</groupId>
      <artifactId>javax.interceptor-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jta_1.1_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.specs</groupId>
      <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.janino</groupId>
      <artifactId>janino</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jms_1.1_spec</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.specs</groupId>
      <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mvel</groupId>
      <artifactId>mvel2</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.quartz</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-aop</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-beans</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-context</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-expression</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-jdbc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-orm</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-tx</artifactId>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <!--<dependency>-->
      <!--<groupId>org.ops4j.pax.logging</groupId>-->
      <!--<artifactId>pax-logging-api</artifactId>-->
    <!--</dependency>-->

    <!-- Additional required test dependencies -->

    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
    </dependency>
    <dependency>
      <groupId>net.java.dev.glazedlists</groupId>
      <artifactId>glazedlists_java15</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <scope>test</scope>
    </dependency>
    <!--dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <scope>test</scope>
    </dependency-->
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.byteman</groupId>
      <artifactId>byteman-bmunit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.weld.se</groupId>
      <artifactId>weld-se-core</artifactId>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jsr250-api</artifactId>
          <groupId>javax.annotation</groupId>
        </exclusion>
        <exclusion>
          <artifactId>el-api</artifactId>
          <groupId>javax.el</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-test-util</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-kie-services</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.btm</groupId>
      <artifactId>btm</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-entitymanager</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>xmlunit</groupId>
      <artifactId>xmlunit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-server</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hornetq</groupId>
      <artifactId>hornetq-jms-server</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-api-mockito</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.subethamail</groupId>
      <artifactId>subethasmtp-wiser</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.unboundid</groupId>
      <artifactId>unboundid-ldapsdk</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.yaml</groupId>
      <artifactId>snakeyaml</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.reflections</groupId>
      <artifactId>reflections</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-ejb_3.1_spec</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.spring-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.github.tomakehurst</groupId>
      <artifactId>wiremock</artifactId>
      <classifier>standalone</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-server</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-servlet</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-servlets</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.simpleframework</groupId>
      <artifactId>simple-http</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>
    <resources>
      <resource>
        <directory>src/main/filtered-resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
        <filtering>false</filtering>
      </testResource>
      <testResource>
        <directory>src/test/filtered-resources</directory>
        <filtering>true</filtering>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <executions>
          <execution>
            <id>default-test</id>
            <goals>
              <goal>test</goal>
            </goals>
            <configuration>
              <testClassesDirectory>${project.build.testOutputDirectory}</testClassesDirectory>
            </configuration>
          </execution>
          <execution>
            <id>drools-persistence-jpa</id>
            <goals>
              <goal>test</goal>
            </goals>
            <configuration>
              <testClassesDirectory>${project.build.directory}/drools-persistence-jpa</testClassesDirectory>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <failIfNoTests>false</failIfNoTests>
          <!-- For jbpm-runtime-manager tests -->
          <forkMode>always</forkMode>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>unpack-tests-dependencies</id>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <artifactItems>
                <!--
                  It's not that easy to run all unzipped -tests.jar tests. The biggest problem is
                  different "datasource.properties" contained in these tests jars

                  Unfortunately it's nearly impossible to run all the tests after unzipping *all*
                  tests. I just run them one at a time. I can imagine some clever maven tricks
                  (profiles and executions), but this is still a to-do
                -->
                <artifactItem>
                  <groupId>org.kie</groupId>
                  <artifactId>kie-api</artifactId>
                  <version>${project.version}</version>
                  <classifier>tests</classifier>
                  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
                </artifactItem>
                <!--<artifactItem>-->
                  <!--<groupId>org.kie</groupId>-->
                  <!--<artifactId>kie-internal</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-core</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-compiler</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                  <!-- excludes related to slightly different test classpath -->
                  <!--<excludes>-->
                    <!--/org/drools/compiler/kproject/KieProjectDefaultClasspathTest.class,-->
                    <!--/org/drools/compiler/kproject/KieProjectRuntimeModulesTest,-->
                    <!--/org/drools/compiler/integrationtests/XSDResourceTest.class-->
                  <!--</excludes>-->
                <!--</artifactItem>-->
                <!-- Special unpack for org.drools.compiler.compiler.xml.changeset.ChangeSetTest.testCustomClassLoader() -->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-compiler</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                  <!--<includes>/org/drools/compiler/compiler/xml/changeset/changeset.jar</includes>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-templates</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-decisiontables</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!-- Special unpack for org.drools.decisiontable.ColumnReplaceTest.testAutoFocusToLockOnActiveReplacement() -->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-decisiontables</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.basedir}/src/test/resources</outputDirectory>-->
                  <!--<includes>/org/drools/decisiontable/columnReplaceTest.csv</includes>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-persistence-jpa</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.directory}/drools-persistence-jpa</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-flow</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-flow-builder</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-audit</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-query-jpa</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-persistence-jpa</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-bpmn2</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                  <!--<excludes>/org/jbpm/bpmn2/structureref/StructureRefTest.class</excludes>-->
                <!--</artifactItem>-->
                <!-- Special unpack for org.jbpm.bpmn2.StandaloneBPMNProcessTest.testXXEProcessVulnerability() -->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-bpmn2</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.basedir}/src/test/resources</outputDirectory>-->
                  <!--<includes>/xxe-protection/external.dtd</includes>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-human-task-jpa</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-human-task-core</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-human-task-core</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.basedir}/src/test/resources</outputDirectory>-->
                  <!--<includes>/ldap-config.ldif</includes>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-human-task-workitems</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-human-task-audit</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-runtime-manager</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.jbpm</groupId>-->
                  <!--<artifactId>jbpm-runtime-manager</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.basedir}/src/test/resources</outputDirectory>-->
                  <!--<includes>-->
                    <!--/deployment/*.xml,-->
                    <!--/kjar/jbpm-module.jar,-->
                    <!--/kjar/pom.xml-->
                  <!--</includes>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie</groupId>-->
                  <!--<artifactId>kie-spring</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-workbench-models-datamodel-api</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-workbench-models-commons</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.drools</groupId>-->
                  <!--<artifactId>drools-workbench-models-guided-dtable</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.optaplanner</groupId>-->
                  <!--<artifactId>optaplanner-core</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.optaplanner</groupId>-->
                  <!--<artifactId>optaplanner-persistence-xstream</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.server</groupId>-->
                  <!--<artifactId>kie-server-api</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.remote</groupId>-->
                  <!--<artifactId>kie-remote-common</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.server</groupId>-->
                  <!--<artifactId>kie-server-client</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.remote</groupId>-->
                  <!--<artifactId>kie-remote-jaxb</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.remote.ws</groupId>-->
                  <!--<artifactId>kie-remote-ws-common</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
                <!--<artifactItem>-->
                  <!--<groupId>org.kie.remote</groupId>-->
                  <!--<artifactId>kie-remote-client</artifactId>-->
                  <!--<version>${project.version}</version>-->
                  <!--<classifier>tests</classifier>-->
                  <!--<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>-->
                <!--</artifactItem>-->
              </artifactItems>
              <excludes>META-INF/INDEX.LIST</excludes>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
