<?xml version="1.0" encoding="UTF-8"?>
<features name="karaf-features-core-droolsjbpm-7.0.0.Beta8"
          xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0">

  <feature name="drools-common" version="7.0.0.Beta8" description="Drools Commons">
    <bundle>mvn:com.google.protobuf/protobuf-java/2.6.0</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/3.5_1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.9_1</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.2.0</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.11_1</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1</bundle>
    <bundle>mvn:org.mvel/mvel2/2.3.0.Final</bundle>
    <bundle>wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.4.2$Bundle-SymbolicName=Eclipse-JDT-Compiler&amp;Bundle-Version=4.4.2</bundle>
    <bundle>wrap:mvn:org.codehaus.janino/janino/2.5.16$Bundle-SymbolicName=Codehaus-Janino&amp;Bundle-Version=2.5.16</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0</bundle>
    <bundle>wrap:mvn:javax.enterprise/cdi-api/1.2</bundle>
    <bundle>mvn:org.jboss.spec.javax.el/jboss-el-api_3.0_spec/1.0.6.Final</bundle>
    <bundle>mvn:org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.2_spec/1.0.0.Final</bundle>
    <bundle>mvn:commons-codec/commons-codec/1.10</bundle>
  </feature>

  <feature name="drools-module" version="7.0.0.Beta8" description="Drools Core">
    <feature version="7.0.0.Beta8">drools-common</feature>
    <feature version="7.0.0.Beta8">kie</feature>
    <bundle>mvn:org.drools/drools-core/7.0.0.Beta8</bundle>
    <bundle>mvn:org.drools/drools-compiler/7.0.0.Beta8</bundle>
    <bundle>mvn:org.drools/drools-cdi/7.0.0.Beta8</bundle>
    <bundle>mvn:org.kie/kie-osgi-integration/7.0.0.Beta8</bundle>
  </feature>

  <feature name="drools-templates" version="7.0.0.Beta8" description="Drools Templates">
    <bundle>mvn:org.drools/drools-templates/7.0.0.Beta8</bundle>
  </feature>

  <feature name="drools-decisiontable" description="Drools Decision Tables" version="7.0.0.Beta8">
    <feature version="7.0.0.Beta8">drools-module</feature>
    <feature version="7.0.0.Beta8">drools-templates</feature>
    <bundle>mvn:commons-codec/commons-codec/1.10</bundle>
    <bundle>mvn:org.drools/drools-decisiontables/7.0.0.Beta8</bundle>
    <bundle>mvn:org.apache.commons/commons-collections4/4.1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/3.15_1</bundle>
    <bundle>mvn:org.apache.santuario/xmlsec/2.0.6</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5</bundle>
  </feature>

  <feature name="drools-wb-guided-decisiontables" description="Drools Workbench Guided Decision Tables" version="7.0.0.Beta8">
     <feature version="7.0.0.Beta8">drools-module</feature>
     <bundle>mvn:org.drools/drools-workbench-models-datamodel-api/7.0.0.Beta8</bundle>
     <bundle>mvn:org.drools/drools-workbench-models-commons/7.0.0.Beta8</bundle>
     <bundle>mvn:org.apache.commons/commons-lang3/3.4</bundle>
     <bundle>mvn:org.drools/drools-workbench-models-guided-dtable/7.0.0.Beta8</bundle>
   </feature>
   
   <feature name="kie-dmn" description="Kie DMN" version="7.0.0.Beta8">
     <feature version="7.0.0.Beta8">drools-module</feature>
     <bundle>mvn:org.antlr/antlr4-runtime/4.5.3</bundle>
     <bundle>mvn:org.kie/kie-dmn-model/7.0.0.Beta8</bundle>
     <bundle>mvn:org.kie/kie-dmn-api/7.0.0.Beta8</bundle>
     <bundle>mvn:org.kie/kie-dmn-backend/7.0.0.Beta8</bundle>
     <bundle>mvn:org.kie/kie-dmn-feel/7.0.0.Beta8</bundle>
     <bundle>mvn:org.kie/kie-dmn-core/7.0.0.Beta8</bundle>
   </feature>

  <feature name="drools-jpa" version="7.0.0.Beta8" description="Drools JPA">
    <feature version="7.0.0.Beta8">drools-module</feature>
    <feature version="[3.1,4.0)">spring-orm</feature>
    <feature version="[1.0.1,2.0)">jpa</feature>
    <bundle>mvn:org.drools/drools-persistence-api/7.0.0.Beta8</bundle>
    <bundle>mvn:org.drools/drools-persistence-jpa/7.0.0.Beta8</bundle>
  </feature>

  <feature name="kie" version="7.0.0.Beta8" description="KIE API">
    <bundle>mvn:org.kie/kie-api/7.0.0.Beta8</bundle>
    <bundle>mvn:org.kie/kie-internal/7.0.0.Beta8</bundle>
  </feature>

  <feature name="kie-ci" version="7.0.0.Beta8" description="KIE CI">
    <bundle>mvn:org.kie/kie-ci-osgi/7.0.0.Beta8</bundle>
  </feature>

  <feature name="kie-spring" version="7.0.0.Beta8" description="KIE Spring">
    <feature version="7.0.0.Beta8">kie</feature>
    <feature version="7.0.0.Beta8">drools-jpa</feature>
    <feature version="7.0.0.Beta8">jbpm</feature>
    <feature version="7.0.0.Beta8">jbpm-human-task</feature>
    <feature version="[3.1,4.0)">spring</feature>
    <bundle>mvn:org.springframework.osgi/spring-osgi-extender/1.2.1</bundle>
    <bundle>mvn:org.springframework.osgi/spring-osgi-core/1.2.1</bundle>
    <bundle>mvn:org.springframework.osgi/spring-osgi-io/1.2.1</bundle>
    <bundle>mvn:org.kie/kie-spring/7.0.0.Beta8</bundle>
  </feature>

  <feature name="kie-aries-blueprint" version="7.0.0.Beta8" description="KIE Aries Blueprint">
    <feature version="7.0.0.Beta8">kie</feature>
    <feature version="7.0.0.Beta8">drools-jpa</feature>
    <feature version="7.0.0.Beta8">jbpm</feature>
    <feature version="7.0.0.Beta8">jbpm-human-task</feature>
    <bundle>mvn:org.kie/kie-aries-blueprint/7.0.0.Beta8</bundle>
  </feature>

  <feature name="jbpm-commons" version="7.0.0.Beta8" description="jBPM Commons">
    <!-- This feature is Fuse version specific, so it is defined differently in the features.xml and features-fuse-6_3.xml files -->
    <feature version="7.0.0.Beta8">servlet-api-kie</feature>
    <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/2.4.0</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.5_2</bundle>
    <bundle>mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.5_spec/1.0.0.Final</bundle>
    <bundle>mvn:joda-time/joda-time/2.7</bundle>
    <bundle>mvn:org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.2_spec/1.0.0.Final</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jpa_2.1_spec/1.0-alpha-1</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
  </feature>

  <feature name="jbpm-human-task" version="7.0.0.Beta8" description="jBPM Human Task">
    <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.6.2</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-core/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-workitems/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-jpa/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-audit/7.0.0.Beta8</bundle>
  </feature>

  <feature name="jbpm" version="7.0.0.Beta8" description="jBPM Engine">
    <feature version="7.0.0.Beta8">drools-module</feature>
    <feature version="7.0.0.Beta8">drools-jpa</feature>
    <feature version="7.0.0.Beta8">jbpm-commons</feature>
    <feature version="7.0.0.Beta8">jbpm-human-task</feature>
    <bundle>mvn:org.jbpm/jbpm-flow-builder/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-flow/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-bpmn2/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-audit/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-query-jpa/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-persistence-api/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-persistence-jpa/7.0.0.Beta8</bundle>
    <bundle>mvn:org.jbpm/jbpm-runtime-manager/7.0.0.Beta8</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail/1.4.1_5</bundle>
  </feature>

  <feature name="jbpm-workitems" version="7.0.0.Beta8" description="jBPM Work Items">
    <feature version="7.0.0.Beta8">jbpm</feature>
    <bundle>wrap:mvn:org.jbpm/jbpm-workitems/7.0.0.Beta8</bundle>
  </feature>

  <feature name="jbpm-executor" version="7.0.0.Beta8" description="jBPM Executor">
    <feature version="7.0.0.Beta8">jbpm-workitems</feature>
    <bundle>wrap:mvn:org.jbpm/jbpm-executor/7.0.0.Beta8$DynamicImport-Package=org.hibernate.*,javassist.*</bundle>
  </feature>

  <feature name="optaplanner-engine" version="7.0.0.Beta8" description="OptaPlanner Engine">
    <feature version="7.0.0.Beta8">drools-module</feature>
    <bundle>mvn:org.optaplanner/optaplanner-core/7.0.0.Beta8</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-common/7.0.0.Beta8</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-xstream/7.0.0.Beta8</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-jaxb/7.0.0.Beta8</bundle>
    <bundle>mvn:org.apache.commons/commons-lang3/3.4</bundle>
    <bundle>mvn:org.apache.commons/commons-math3/3.4.1</bundle>
    <bundle>mvn:commons-io/commons-io/2.5</bundle>
    <bundle>mvn:com.google.guava/guava/20.0</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.10_2</bundle>
  </feature>

  <feature name="droolsjbpm-hibernate" version="5.1.4.Final" description="Hibernate 5.x JPA persistence engine support">
    <details>Enable Hibernate 5.x as persistence engine.</details>
    <feature>transaction</feature>
    <feature>jpa</feature>
    <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5</bundle>
    <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.8.2_2</bundle>
    <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_5</bundle>
    <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1</bundle>
    <bundle dependency="true">mvn:com.fasterxml/classmate/1.3.1</bundle>
    <bundle dependency="true">mvn:org.javassist/javassist/3.20.0-GA</bundle>
    <bundle dependency="true">mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.5_spec/1.0.0.Final</bundle>
    <bundle dependency="true">wrap:mvn:org.jboss/jandex/1.1.0.Final</bundle>
    <bundle dependency="true">mvn:javax.validation/validation-api/1.1.0.Final</bundle>
    <bundle dependency="true">mvn:org.jboss.logging/jboss-logging/3.3.0.Final</bundle>
    <bundle dependency="true">mvn:org.hibernate.common/hibernate-commons-annotations/5.0.1.Final</bundle>
    <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-core/5.1.4.Final$overwrite=merge&amp;Import-Package=org.jbpm.services.task*,*</bundle>
    <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-entitymanager/5.1.4.Final$overwrite=merge&amp;DynamicImport-Package=*</bundle>
    <bundle start-level="100">mvn:org.hibernate/hibernate-osgi/5.1.4.Final</bundle>
    <bundle start-level="100">mvn:org.apache.logging.log4j/log4j-api/2.5</bundle>
  </feature>

  <feature name="hibernate-validator" version="5.3.4.Final" description="Hibernate Validator">
    <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr303-api-1.1.0/2.4.0</bundle>
    <bundle>mvn:org.jboss.logging/jboss-logging/3.3.0.Final</bundle>
    <bundle>mvn:org.hibernate/hibernate-validator/5.3.4.Final</bundle>
    <bundle>mvn:org.apache.logging.log4j/log4j-api/2.5</bundle>
    <bundle>mvn:com.fasterxml/classmate/1.3.1</bundle>
  </feature>

  <feature name="jbpm-spring-persistent" version="7.0.0.Beta8" description="jBPM Spring Persistence support">
    <feature version="7.0.0.Beta8">jbpm</feature>
    <feature>spring-dm</feature>
    <feature version="7.0.0.Beta8">kie-spring</feature>
    <feature>droolsjbpm-hibernate</feature>
    <feature version="1.4.178">h2</feature>
  </feature>

  <feature name="h2" version="1.4.178" description="H2 database">
    <bundle>mvn:com.h2database/h2/1.4.178</bundle>
    <bundle start-level="100">mvn:commons-dbcp/commons-dbcp/1.4</bundle>
    <bundle start-level="100">mvn:commons-pool/commons-pool/1.6</bundle>
  </feature>

  <feature name="kie-server-client" version="7.0.0.Beta8" description="KIE Server Client">
    <feature version="7.0.0.Beta8">drools-module</feature>
    <feature version="7.0.0.Beta8">optaplanner-engine</feature>
    <bundle>mvn:org.kie.server/kie-server-api/7.0.0.Beta8</bundle>
    <bundle>mvn:org.kie.server/kie-server-common/7.0.0.Beta8</bundle>
    <bundle>mvn:org.kie.server/kie-server-client/7.0.0.Beta8</bundle>
    <bundle>mvn:org.kie/kie-dmn-model/7.0.0.Beta8</bundle> <!-- needed as the kie-server contains DMN client, which uses the kie-dmn-api, which needs kie-dmn-model -->
    <bundle>mvn:org.kie/kie-dmn-api/7.0.0.Beta8</bundle>   <!-- needed as the kie-server contains DMN client, which uses the kie-dmn-api -->
    <bundle>wrap:mvn:org.jboss.spec.javax.ws.rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final</bundle>
    <bundle>mvn:org.apache.commons/commons-lang3/3.4</bundle>
    <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.6.2</bundle>
    <bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.6.2</bundle>
    <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.6.2</bundle>
    <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.6.2</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7</bundle>
  </feature>

</features>
