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

David Lloyd (JIRA) jira-events at lists.jboss.org
Mon Aug 1 10:00:38 EDT 2011


     [ https://issues.jboss.org/browse/JBLOGGING-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved JBLOGGING-51.
----------------------------------

    Resolution: Won't Fix


The jboss-logging-spi project is part of the old 2.x series of jboss-logging.  This version can not likely be ported to OSGi due to the way it is split among multiple JARs, not to mention its nontrivial dependencies.

I would entertain a new feature request for jboss-logging 3.x but it would have to account for the various optional packages that it can consume.

> 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