roedll opened a new pull request #13:
URL: https://github.com/apache/logging-log4j-kotlin/pull/13


   We are using the Log4J Kotlin API in an OSGi environment. One pitfall is the 
missing manifest headers that would enable the direct usage as OSGi bundle. We 
are currently working with a workaraound, that wraps (repackages) the jar as a 
bundle and adds those headers on the fly.
   But "native" support would be way better ;-)
   
   To use a jar as an OSGi bundle, the manifest needs to have additional 
headers.
   These headers describe the bundle and provide additional information.
   
   This MR adds those headers and some additional Maven configuration to 
automaitcally add those headers into the resulting MANIFEST.MF file.
   
   Some resources that deal with OSGi, manifest headers and "bundelization":
   * https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html
   * https://www.osgi.org/bundle-headers-reference/
   * 
https://vaadin.com/docs/flow/advanced/tutorial-making-components-osgi-compatible.html
   * https://bnd.bndtools.org/chapters/390-wrapping.html
   * https://livebook.manning.com/book/osgi-in-depth/appendix-a/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to