Hi,
sorry for the 'intrusion', I have one question about OSGi and Jena.

I saw you have a pom.xml [1] to group all the Jena artifacts and dependencies in a OSGi bundle.

While ago I tried to provide support for people wanting to use Jena as
a OSGi bundle (however, I am not an OSGi expert myself and I am not
sure that was enough).

Is there something we can do in Jena to provide you with a jar which
gets you everything you need in relation to Clerezza and the OSGi
framework?

In particular, would having this in the Jena pom.xml help you?

<plugin>
  <groupId>org.apache.felix</groupId>
  <artifactId>maven-bundle-plugin</artifactId>
  <extensions>true</extensions>
  <configuration>
    <instructions>
      <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
      <Embed-Dependency>*;artifactId=!commons-logging</Embed-Dependency>
      <Embed-Transitive>true</Embed-Transitive>
      <Import-Package>!com.hp.hpl.jena.*.test,
            !org.apache.xml.resolver.*,!sun.*,
            !com.sun.msv.*,
            !com.sun.jdmk.*,
            !javax.jms.*,
            !org.relaxng.*,
            *</Import-Package>
      <Export-Package>com.hp.hpl.jena.*,
            org.apache.xerces.util</Export-Package>
    </instructions>
  </configuration>
</plugin>

And, would it work with <packaging>jar</packaging>?

Ditto for TDB [3].

Thank you in advance for your help.

Paolo

[1] http://svn.apache.org/repos/asf/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.ext.com.hp.hpl.jena/pom.xml
 [2] http://jena.cvs.sourceforge.net/viewvc/jena/jena2/pom.xml?view=markup
[3] http://svn.apache.org/repos/asf/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.ext.com.hp.hpl.jena.tdb/pom.xml

Reply via email to