Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-51

jboss-logging-spi in OSGI

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      I'ld like jboss-logging-spi be a OSGI bundle so it can be installed in all OSGI repositories. Actually I tested it with felix. To do it it is enough add this plugin configuration in the pom.xml:

      <!-- It configures the package to use inside a OSGI repository -->
      <plugin>
      <groupId>org.apache.felix</groupId>
      <artifactId>maven-bundle-plugin</artifactId>
      <version>2.1.0</version>
      <extensions>true</extensions>
      <configuration>
      <instructions>
      <Bundle-DocURL>http://community.jboss.org/wiki/JBossCommonProject</Bundle-DocURL>
      <Export-Package>
      ${project.groupId}.*;version=${project.version};-split-package:=error
      </Export-Package>
      </instructions>
      </configuration>
      </plugin>

      and modify the <packaging> row from 'jar' to 'bundle' so:

      <packaging>bundle</packaging>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: