You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2015/03/22 17:54:10 UTC

clerezza-rdf-core git commit: CLEREZZA-973: creating OSGi bundles

Repository: clerezza-rdf-core
Updated Branches:
  refs/heads/master df00e82df -> 1f6819e17


CLEREZZA-973: creating OSGi bundles

Project: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/commit/1f6819e1
Tree: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/tree/1f6819e1
Diff: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/diff/1f6819e1

Branch: refs/heads/master
Commit: 1f6819e174ddf0c43a1ad34bae190e80debcec4c
Parents: df00e82
Author: Reto Gmuer <re...@apache.org>
Authored: Sun Mar 22 16:53:59 2015 +0000
Committer: Reto Gmuer <re...@apache.org>
Committed: Sun Mar 22 16:53:59 2015 +0000

----------------------------------------------------------------------
 api/pom.xml         |  1 +
 impl.sparql/pom.xml |  2 +-
 impl.utils/pom.xml  | 18 +++++++++++++++++-
 3 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/1f6819e1/api/pom.xml
----------------------------------------------------------------------
diff --git a/api/pom.xml b/api/pom.xml
index 0e829f3..494ca87 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -31,6 +31,7 @@
     <groupId>org.apache.clerezza.commons-rdf</groupId>
     <artifactId>commons-rdf-api</artifactId>
     <version>0.1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
     <name>Clerezza Commons RDF API</name>
     <description>
         Apache Commons RDF provides an API modelling the RDF data model as defined by 

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/1f6819e1/impl.sparql/pom.xml
----------------------------------------------------------------------
diff --git a/impl.sparql/pom.xml b/impl.sparql/pom.xml
index 17cd16a..d1b4fdc 100644
--- a/impl.sparql/pom.xml
+++ b/impl.sparql/pom.xml
@@ -13,7 +13,7 @@
     <groupId>org.apache.clerezza.commons-rdf</groupId>
     <artifactId>commons-rdf-impl-sparql</artifactId>
     <version>1.0.0-SNAPSHOT</version>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
     <name>Clerezza Commons RDF SPARQL backed implementation.</name>
     <description>An implementation of the rdf commons API backed by a sparql 
         endpoint. STATUS: Current code only supports reading 

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/1f6819e1/impl.utils/pom.xml
----------------------------------------------------------------------
diff --git a/impl.utils/pom.xml b/impl.utils/pom.xml
index 6fb61e3..5a15662 100644
--- a/impl.utils/pom.xml
+++ b/impl.utils/pom.xml
@@ -26,11 +26,12 @@
         <artifactId>clerezza</artifactId>
         <version>0.5</version>
         <relativePath />
-     </parent>
+    </parent>
 
     <groupId>org.apache.clerezza.commons-rdf</groupId>
     <artifactId>commons-rdf-impl-utils</artifactId>
     <version>0.1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
     <name>Clerezza Commons RDF Implementation Utils</name>
     <description>
         Apache Commons RDF provides an API modelling the RDF data model as defined by 
@@ -50,6 +51,21 @@
         <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/clerezza-rdf-core.git</developerConnection>
         <url>https://git-wip-us.apache.org/repos/asf/clerezza-rdf-core.git</url>
     </scm>
+    
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>org.apache.commons.rdf.*</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
 
     <dependencies>