-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
could be useful convert jboss marshalling as a OSGI bundle. Mainly the modify is very simple. You have to change the <packaging> tag of pom.xml of the project so:
<packaging>bundle</packaging> instead of 'jar'
and add the plugin configuration:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-DocURL>http://jboss.org/jbossmarshalling</Bundle-DocURL>
<Export-Package>
${project.groupId}.*;version=${project.version};-split-package:=error
</Export-Package>
</instructions>
</configuration>
</plugin>
It will add some OSGI base manifest tags in the MANIFEST.MF of the package.
I added a fork here:
https://github.com/flashboss/jboss-marshalling/blob/master
I hope it can be useful