From 3d851b848c9e439530ddbfe40acd7e8c457b0a9d Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 30 Sep 2016 15:58:10 +0200 Subject: [PATCH 1/2] [OPENJPA-2669] Add karaf feature and adapt imports --- openjpa-features/pom.xml | 74 +++++++++++++++++++ openjpa-features/src/main/feature/feature.xml | 35 +++++++++ openjpa/pom.xml | 2 +- pom.xml | 1 + 4 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 openjpa-features/pom.xml create mode 100644 openjpa-features/src/main/feature/feature.xml diff --git a/openjpa-features/pom.xml b/openjpa-features/pom.xml new file mode 100644 index 0000000000..c6ea981836 --- /dev/null +++ b/openjpa-features/pom.xml @@ -0,0 +1,74 @@ + + + + + + 4.0.0 + + + org.apache.openjpa + openjpa-parent + 3.0.0-SNAPSHOT + + + openjpa-features + pom + OpenJPA Features + + + + + org.apache.karaf.tooling + karaf-maven-plugin + + + + + compile + generate-resources + + features-generate-descriptor + + + false + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + target/feature/feature.xml + features + xml + + + + + + + + + + diff --git a/openjpa-features/src/main/feature/feature.xml b/openjpa-features/src/main/feature/feature.xml new file mode 100644 index 0000000000..b9221d6d46 --- /dev/null +++ b/openjpa-features/src/main/feature/feature.xml @@ -0,0 +1,35 @@ + + + + + +
Apache OpenJPA persistence engine
+ mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 + mvn:org.eclipse.persistence/javax.persistence/2.1.0 + mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 + mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1 + mvn:commons-pool/commons-pool/1.6 + mvn:commons-dbcp/commons-dbcp/1.4 + mvn:commons-collections/commons-collections/3.2.2 + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1 + mvn:org.apache.xbean/xbean-asm5-shaded/4.3 + mvn:org.apache.openjpa/openjpa/${project.version} +
+ +
diff --git a/openjpa/pom.xml b/openjpa/pom.xml index 33321f621f..a2588cbae6 100644 --- a/openjpa/pom.xml +++ b/openjpa/pom.xml @@ -133,7 +133,7 @@ javax.validation.*;version="[1.0.0,1.1)";resolution:=optional, javax.xml.bind.*;resolution:=optional, serp.*;resolution:=optional, - javax.persistence.*;version="[1.1.0,2.1)", + javax.persistence.*;version="[1.1.0,2.2)", * diff --git a/pom.xml b/pom.xml index 01428789db..7efcf35ce9 100644 --- a/pom.xml +++ b/pom.xml @@ -169,6 +169,7 @@ openjpa-integration openjpa-all openjpa-tools + openjpa-features From 85cd6b50fedeb8ac58584a61d8f84b4ecdf82c8a Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 6 Oct 2016 10:24:23 +0200 Subject: [PATCH 2/2] [OPENJPA-2669] Add jndi --- openjpa-features/src/main/feature/feature.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/openjpa-features/src/main/feature/feature.xml b/openjpa-features/src/main/feature/feature.xml index b9221d6d46..f007c54c29 100644 --- a/openjpa-features/src/main/feature/feature.xml +++ b/openjpa-features/src/main/feature/feature.xml @@ -20,6 +20,7 @@
Apache OpenJPA persistence engine
+ jndi mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 mvn:org.eclipse.persistence/javax.persistence/2.1.0 mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1