<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
  ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  -->
<features>
  <feature name="hibernate-test">

    <!-- JTA -->
    <bundle start-level="30">mvn:org.jboss.spec.javax.transaction/jboss-transaction-api_1.2_spec/1.0.1.Final</bundle>

    <!-- JPA -->
    <bundle start-level="30">mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final</bundle>

    <!-- Taken from Karaf-Tutorial -->
    <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
    <bundle>mvn:commons-pool/commons-pool/1.5.4</bundle>
    <bundle>mvn:commons-dbcp/commons-dbcp/1.4</bundle>
    <bundle>mvn:commons-lang/commons-lang/2.6</bundle>
    <bundle>wrap:mvn:net.sourceforge.serp/serp/1.13.1</bundle>

    <bundle>mvn:com.h2database/h2/1.3.170</bundle>

    <!-- These do not natively support OSGi, so using 3rd party bundles. -->
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_5</bundle>

    <!-- These do not natively support OSGi, so wrap with BND. -->
    <bundle>wrap:mvn:org.jboss/jandex/1.1.0.Final</bundle>

    <bundle>mvn:com.fasterxml/classmate/0.8.0</bundle>
    <bundle>mvn:org.apache.logging.log4j/log4j-api/2.0</bundle>
    <bundle>mvn:log4j/log4j/1.2.17</bundle>
    <bundle>mvn:org.jboss.logging/jboss-logging/3.2.1.Final</bundle>
    <bundle>mvn:org.javassist/javassist/3.18.1-GA</bundle>

    <bundle>mvn:org.hibernate.common/hibernate-commons-annotations/4.0.5.Final</bundle>

    <bundle>mvn:org.hibernate/hibernate-core/$version</bundle>
    <bundle>mvn:org.hibernate/hibernate-osgi/$version</bundle>

    <bundle>mvn:org.hibernate.osgi/unmanaged-jpa/1.0.0</bundle>
  </feature>
</features>
