Added tutorials of the hibernate-release 5.0.12.Final
[hibernate4-maven-plugin] / src / it / tutorials-5.0.12 / osgi / unmanaged-native / features.xml
diff --git a/src/it/tutorials-5.0.12/osgi/unmanaged-native/features.xml b/src/it/tutorials-5.0.12/osgi/unmanaged-native/features.xml
new file mode 100644 (file)
index 0000000..8d9223c
--- /dev/null
@@ -0,0 +1,79 @@
+<?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">
+
+    <!--<feature>karaf-framework</feature>-->
+
+    <!-- JTA -->
+    <bundle start-level="30">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</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>
+    <!-- Optional.  Needed to test C3P0 connection pools. -->
+    <!-- <bundle>wrap:mvn:c3p0/c3p0/0.9.1</bundle> -->
+    <!-- Optional.  Needed to test Proxool connection pools. -->
+    <!-- <bundle>wrap:mvn:proxool/proxool/0.8.3</bundle> -->
+    <!-- Optional.  Needed to test ehcache 2lc. -->
+    <!-- <bundle>wrap:mvn:net.sf.ehcache/ehcache-core/2.4.3</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>
+
+    <!-- JACC is optional. -->
+    <!--<bundle>mvn:javax.servlet/javax.servlet-api/3.0.1</bundle>
+    <bundle>mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.4_spec/1.0.2.Final</bundle>-->
+
+    <!-- hibernate-validator is optional. -->
+    <!--<bundle>wrap:mvn:javax.validation/validation-api/1.0.0.GA</bundle>
+    <bundle>mvn:org.hibernate/hibernate-validator/4.2.0.Final</bundle>-->
+
+    <!-- Optional.  Needed to test infinispan 2lc. -->
+    <!-- IMPORTANT: Infinispan requires the JRE sun.misc package.  You
+    MUST enable this in your OSGi container.  For Karaf, add
+    "org.osgi.framework.system.packages.extra=sun.misc" to etc/config.properties -->
+    <!-- <bundle>wrap:mvn:org.jboss.marshalling/jboss-marshalling/1.3.17.GA</bundle>
+    <bundle>wrap:mvn:org.jboss.marshalling/jboss-marshalling-river/1.3.17.GA</bundle>
+    <bundle>wrap:mvn:org.jboss/staxmapper/1.1.0.Final</bundle>
+    <bundle>mvn:org.jgroups/jgroups/3.2.8.Final</bundle>
+    <bundle>mvn:org.infinispan/infinispan-core/5.2.0.Beta3</bundle> -->
+
+    <bundle>mvn:org.hibernate/hibernate-core/5.0.12.Final</bundle>
+    <!-- TODO: Shouldn't need this, but hibernate-osgi's activator is a catch-all for SF and EMF. -->
+    <bundle>mvn:org.hibernate/hibernate-entitymanager/5.0.12.Final</bundle>
+    <bundle>mvn:org.hibernate/hibernate-envers/5.0.12.Final</bundle>
+    <!-- <bundle>mvn:org.hibernate/hibernate-c3p0/5.0.12.Final</bundle> -->
+    <!-- <bundle>mvn:org.hibernate/hibernate-proxool/5.0.12.Final</bundle> -->
+    <!-- <bundle>mvn:org.hibernate/hibernate-ehcache/5.0.12.Final</bundle> -->
+    <!-- <bundle>mvn:org.hibernate/hibernate-infinispan/5.0.12.Final</bundle> -->
+    <bundle>mvn:org.hibernate/hibernate-osgi/5.0.12.Final</bundle>
+
+    <bundle>mvn:org.hibernate.osgi/unmanaged-native/1.0.0</bundle>
+  </feature>
+</features>