[jboss-jira] [JBoss JIRA] Commented: (JBLOGGING-51) jboss-logging-spi in OSGI
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu Aug 4 16:46:51 EDT 2011
[ https://issues.jboss.org/browse/JBLOGGING-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619003#comment-12619003 ]
David Lloyd commented on JBLOGGING-51:
--------------------------------------
http://github.com/jboss-logging/jboss-logging
> 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