karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [1/2] karaf git commit: [KARAF-3920] Add OpenJPA 2.4.0 feature
Date Tue, 11 Aug 2015 17:12:27 GMT
Repository: karaf
Updated Branches:
  refs/heads/master b47d31a9c -> 359d4b5fe


[KARAF-3920] Add OpenJPA 2.4.0 feature


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/7f35598a
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/7f35598a
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/7f35598a

Branch: refs/heads/master
Commit: 7f35598a8d6d0d13d8b2a5bf28a9df74e422244a
Parents: 87268c6
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue Aug 11 19:11:48 2015 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue Aug 11 19:11:48 2015 +0200

----------------------------------------------------------------------
 .../enterprise/src/main/feature/feature.xml       | 18 ++++++++++++++++++
 .../itests/features/EnterpriseFeaturesTest.java   |  5 +++++
 2 files changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/7f35598a/assemblies/features/enterprise/src/main/feature/feature.xml
----------------------------------------------------------------------
diff --git a/assemblies/features/enterprise/src/main/feature/feature.xml b/assemblies/features/enterprise/src/main/feature/feature.xml
index a8bc8a7..8caaf11 100644
--- a/assemblies/features/enterprise/src/main/feature/feature.xml
+++ b/assemblies/features/enterprise/src/main/feature/feature.xml
@@ -182,6 +182,24 @@
         <requirement>osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(!(version>=1.8)))"</requirement>
     </feature>
 
+    <feature name="openjpa" description="Apache OpenJPA 2.4.x persistence engine support"
version="2.4.0">
+        <details>Enable Apache OpenJPA as persistence engine.</details>
+        <feature version="[1.1,1.2)">transaction-api</feature>
+        <feature version="[2.0.0,2.2.0)">persistence-api</feature>
+        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
+        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2</bundle>
+        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1</bundle>
+        <bundle dependency="true">mvn:commons-lang/commons-lang/${commons-lang.version}</bundle>
+        <bundle dependency="true">mvn:commons-collections/commons-collections/${commons-collections.version}</bundle>
+        <bundle dependency="true">mvn:commons-pool/commons-pool/${commons-pool.version}</bundle>
+        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/${commons-dbcp.version}</bundle>
+        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_6</bundle>
+        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/${serp.bundle.version}</bundle>
+        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/${geronimo.jms-spec.version}</bundle>
+        <bundle dependency="true">mvn:org.apache.xbean/xbean-asm5-shaded/4.3</bundle>
+        <bundle start-level="29">mvn:org.apache.openjpa/openjpa/2.4.0</bundle>
+    </feature>
+
     <feature name="hibernate" description="Hibernate 3.x JPA persistence engine support"
version="${hibernate3.version}">
         <details>Enable Hibernate 3.x as persistence engine.</details>
         <feature version="[2.0.0,2.1.0)">persistence-api</feature>

http://git-wip-us.apache.org/repos/asf/karaf/blob/7f35598a/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
b/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
index 923bb29..18641e5 100644
--- a/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
@@ -72,6 +72,11 @@ public class EnterpriseFeaturesTest extends KarafTestSupport {
     }
 
     @Test
+    public void installOpenJpa240Feature() throws Exception {
+        installAssertAndUninstallFeature("openjpa", "2.4.0");
+    }
+
+    @Test
     public void installHibernate332GAFeature() throws Exception {
         installAssertAndUninstallFeature("hibernate", "3.3.2.GA");
     }


Mime
View raw message