You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2020/04/21 19:32:36 UTC

[GitHub] [jena] acoburn commented on issue #731: JENA-1888: Exclude log4j2 from OSGi bundle

acoburn commented on issue #731:
URL: https://github.com/apache/jena/pull/731#issuecomment-617368874


   I looked a little deeper into this. The issue is related to the `org.apache.logging.log4j.core` package, which isn't exported by the pax-logger implementation that is part of the newer Karaf platforms. (Running `package:exports | grep -i log4j` in the different versions of Karaf will give you this information).
   
   The simple work-around is to just install the required bundle:
   
   ```
   bundle:install -s mvn:org.apache.logging.log4j/log4j-core/2.13.1
   ```
   
   (or the equivalent in a downstream features file).
   
   Either way, it seems that this PR is _not_ the right approach, and this should not be merged. The open question is just whether this dependency should be added to the Jena-provided features.xml file or just leave things as they currently are, but documenting how this works.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org