karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject git commit: [KARAF-2642] Add openjpa enterprise feature
Date Thu, 09 Jan 2014 14:07:58 GMT
Updated Branches:
  refs/heads/karaf-2.x 77531de68 -> 52564fa8d


[KARAF-2642] Add openjpa enterprise feature


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

Branch: refs/heads/karaf-2.x
Commit: 52564fa8d6614eed68fc3daaefe44d4b897f3458
Parents: 77531de
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Thu Jan 9 15:07:33 2014 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Thu Jan 9 15:07:33 2014 +0100

----------------------------------------------------------------------
 .../features/enterprise/src/main/resources/features.xml | 12 ++++++++++++
 pom.xml                                                 |  5 ++++-
 2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/52564fa8/assemblies/features/enterprise/src/main/resources/features.xml
----------------------------------------------------------------------
diff --git a/assemblies/features/enterprise/src/main/resources/features.xml b/assemblies/features/enterprise/src/main/resources/features.xml
index a9e3ace..4d49609 100644
--- a/assemblies/features/enterprise/src/main/resources/features.xml
+++ b/assemblies/features/enterprise/src/main/resources/features.xml
@@ -47,6 +47,18 @@
         <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/${aries.jpa.container.context.version}</bundle>
     </feature>
 
+    <feature name="openjpa" description="Apache OpenJPA persistent engine support" version="${openjpa.version}"
resolver="(obr)">
+        <details>Enable Apache OpenJPA as persistence engine.</details>
+        <feature>jpa</feature>
+        <feature>http</feature>
+        <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.java-persistence-api-1.1.1/${servicemix.specs.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:commons-dbcp/commons-dbcp/${commons-dbcp.version}</bundle>
+        <bundle dependency="true">mvn:commons-lang/commons-lang/${commons-lang.version}</bundle>
+        <bundle>mvn:org.apache.openjpa/openjpa/${openjpa.version}</bundle>
+    </feature>
+
     <feature name="jndi" description="OSGi Service Registry JNDI access" version="${aries.jndi.version}"
resolver="(obr)">
         <details>JNDI support provided by Apache Aries JNDI ${aries.jndi.version}</details>
         <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.api/${aries.jndi.api.version}</bundle>

http://git-wip-us.apache.org/repos/asf/karaf/blob/52564fa8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ed9bb4b..01c3a22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
     </mailingLists>
 
     <prerequisites>
-        <maven>2.2.1</maven>
+        <maven>3.0.4</maven>
     </prerequisites>
 
     <properties>
@@ -110,9 +110,11 @@
         <commons-codec.version>1.8</commons-codec.version>
         <commons-collections.version>3.2.1</commons-collections.version>
         <commons-compress.version>1.6</commons-compress.version>
+        <commons-dbcp.version>1.4</commons-dbcp.version>
         <commons-fileupload.version>1.2.2</commons-fileupload.version>
         <commons-io.version>2.4</commons-io.version>
         <commons-lang.version>2.6</commons-lang.version>
+        <commons-pool.version>1.6</commons-pool.version>
         <injection.bundle.version>1.0</injection.bundle.version>
         <jasypt.bundle.version>1.9.1_1</jasypt.bundle.version>
         <jetty.version>8.1.10.v20130312</jetty.version>
@@ -175,6 +177,7 @@
         <log4j.version>1.2.17</log4j.version>
         <maven.version>3.0-alpha-2</maven.version>
         <mina.version>2.0.7</mina.version>
+        <openjpa.version>2.3.0</openjpa.version>
         <osgi.version>4.3.1</osgi.version>
         <org.json.version>20131018</org.json.version>
         <pax.base.version>1.4.0</pax.base.version>


Mime
View raw message