From 8aa2d4d7d1f430b4fead56a8cc1a0de74f178a75 Mon Sep 17 00:00:00 2001 From: Aki Yoshida Date: Sat, 18 Apr 2015 18:00:09 +0200 Subject: [PATCH] [OLINGO-632] make Olingo jars to OSGi bundles Signed-off-by: Michael Bolz --- lib/client-api/pom.xml | 23 +++++++++++++++++++++-- lib/client-core/pom.xml | 18 +++++++++++++++++- lib/commons-api/pom.xml | 22 ++++++++++++++++++++-- lib/commons-core/pom.xml | 23 ++++++++++++++++++++++- lib/server-api/pom.xml | 26 ++++++++++++++++++++++++-- lib/server-core/pom.xml | 18 +++++++++++++++++- pom.xml | 10 ++++++++-- 7 files changed, 129 insertions(+), 11 deletions(-) diff --git a/lib/client-api/pom.xml b/lib/client-api/pom.xml index 3a9adf4ac..1340edf95 100644 --- a/lib/client-api/pom.xml +++ b/lib/client-api/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-client-api - jar + bundle ${project.artifactId} @@ -50,5 +50,24 @@ httpclient - + + + + org.apache.felix + maven-bundle-plugin + true + + + + + org.apache.olingo.client.api* + + + * + + + + + + diff --git a/lib/client-core/pom.xml b/lib/client-core/pom.xml index 55acb0c20..ec9e2a904 100644 --- a/lib/client-core/pom.xml +++ b/lib/client-core/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-client-core - jar + bundle ${project.artifactId} @@ -77,6 +77,22 @@ + + org.apache.felix + maven-bundle-plugin + true + + + + + org.apache.olingo.client.core* + + + * + + + + diff --git a/lib/commons-api/pom.xml b/lib/commons-api/pom.xml index c28604244..55ca40df9 100644 --- a/lib/commons-api/pom.xml +++ b/lib/commons-api/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-commons-api - jar + bundle ${project.artifactId} @@ -55,5 +55,23 @@ test - + + + + org.apache.felix + maven-bundle-plugin + true + + + + org.apache.olingo.commons.api* + + + * + + + + + + diff --git a/lib/commons-core/pom.xml b/lib/commons-core/pom.xml index d5bbcb146..f290e96db 100644 --- a/lib/commons-core/pom.xml +++ b/lib/commons-core/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-commons-core - jar + bundle ${project.artifactId} @@ -77,4 +77,25 @@ test + + + + org.apache.felix + maven-bundle-plugin + true + + + + org.apache.olingo.commons.core, + org.apache.olingo.commons.core.edm.provider, + org.apache.olingo.commons.core.edm.primitivetype, + + + * + + + + + + diff --git a/lib/server-api/pom.xml b/lib/server-api/pom.xml index e331f0fb7..393939f77 100644 --- a/lib/server-api/pom.xml +++ b/lib/server-api/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-server-api - jar + bundle ${project.artifactId} @@ -51,5 +51,27 @@ junit - + + + + org.apache.felix + maven-bundle-plugin + true + + + + org.apache.olingo.server.api* + + + * + + + + org.apache.olingo.server.core + + + + + + diff --git a/lib/server-core/pom.xml b/lib/server-core/pom.xml index f081ebc1a..1c2d1f57d 100644 --- a/lib/server-core/pom.xml +++ b/lib/server-core/pom.xml @@ -24,7 +24,7 @@ 4.0.0 odata-server-core - jar + bundle ${project.artifactId} @@ -78,6 +78,7 @@ + org.codehaus.mojo build-helper-maven-plugin @@ -114,6 +115,21 @@ src/main/antlr4/org/apache/olingo/server/core/uri/antlr + + org.apache.felix + maven-bundle-plugin + true + + + + org.apache.olingo.server.core + + + * + + + + diff --git a/pom.xml b/pom.xml index 235f30fc6..56dd4bef4 100644 --- a/pom.xml +++ b/pom.xml @@ -80,10 +80,11 @@ 1.7 3.2.2 3.3 - + 2.3.4 4.2.6 2.4.2 - 0.9.9 + + 0.9.8 4.1 @@ -130,6 +131,11 @@ ${antlr.version} + + org.apache.felix + maven-bundle-plugin + ${maven.bundle.plugin.version} + org.apache.httpcomponents httpclient