Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-118

jboss marshalling in OSGI

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.CR9
    • None
    • Marshalling API, River
    • 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

              dlloyd@redhat.com David Lloyd
              luca.stancapiano@vige.it Luca Stancapiano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: