[
https://issues.apache.org/jira/browse/SLING-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907689#action_12907689
]
Jason Rose commented on SLING-1739:
-----------------------------------
I moved spi/helpers to the private packages header again and got the following
bundle problems:
org.apache.felix.karaf.features.core [14]: package;
(&(package=org.slf4j.helpers)(version>=1.4.0)(!(version>=2.0.0))))
org.apache.mina.core [25]: package; (&(package=org.slf4j.spi)(version>=1.5.0)))
org.apache.felix.karaf.shell.log [30]: package;
(&(package=org.ops4j.pax.logging.spi)(version>=1.4.0)(!(version>=2.0.0))))
(this still persists when I move the headers back because it's a dependency on
pax, which I removed)
I'm using servicemix 4.2, which uses karaf 1.4.0. I know this is a pretty old
version of karaf, but I've been pretty hesitant to switch to 2.0.0 because of
all the unknown regression issues that might pop up.
> Update Commons Log exported SLF4J version
> -----------------------------------------
>
> Key: SLING-1739
> URL: https://issues.apache.org/jira/browse/SLING-1739
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: Commons Log 2.0.6
> Reporter: Jason Rose
> Priority: Minor
> Attachments: commons-log.patch
>
>
> Commons Log is currently exporting version 1.5.2 of SLF4j. This is a very
> old version of the library. I'm currently using Commons Logging as a
> replacement for PAX Logging because of classloading issues with PAX in JBoss,
> and I needed to make a couple changes to facilitate that.
> Updating the dependency and exported versions of SLF4j fixes most of the
> issues I have with trying to exclusively use Commons Log. In addition to
> updating the version, I've moved the spi and helpers packages into the
> exported packages instead of private packages. This makes it mirror PAX more
> closely and handles all the logging requirements of 3rd party bundles in my
> application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.