[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-51) jboss-logging-spi in OSGI

luca stancapiano (JIRA) jira-events at lists.jboss.org
Fri Dec 10 00:35:52 EST 2010


jboss-logging-spi in OSGI
-------------------------

                 Key: JBLOGGING-51
                 URL: https://issues.jboss.org/browse/JBLOGGING-51
             Project: JBoss Logging
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
         Environment: felix
            Reporter: luca stancapiano
            Assignee: David Lloyd


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>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list