Hi all, Over in the Sling project but probably in other uses we are faced with the issue to have bundles to be deployed. For some projects we will create special bundles to contain all required dependencies and for some projects it is easier for the original library to just be complying OSGi bundles.
Projects in the latter category certainly are jackrabbit-api, jackrabbit-jcr-commons and jackrabbit-jcr-rmi. As per JCR-1342 [1] I setup these projects to not only package the code but to also generate the OSGi manifest headers. In addition I modified the root POM to contain pluginManagement entry for the Maven Bundle Plugin which is used to create the manifest headers. For more information on the Maven Bundle Plugin please refer to the respective documentation in the Apache Felix project which maintains this plugin [2]. Finally to make use of the jackrabbit-jcr-rmi bundle (or library if you will) easier, I replaced the use of Xerces by the use of JAXP [3]. Please report any issues you encounter. Thanks. Regards Felix [1] http://issues.apache.org/jira/browse/JCR-1342 [2] http://felix.apache.org/site/maven-bundle-plugin-bnd.html [3] http://issues.apache.org/jira/browse/JCR-1343
