I don't think we have any tests for that. Karaf uses pax-logging-log4j2 which shades in log4j-api and log4j-core together for some reason. I've made some commits on that project before, though I'm not sure why everything is shaded.
On 10 July 2017 at 16:53, Gary Gregory <garydgreg...@gmail.com> wrote: > Even version 6 is three years old... the one we had in there was over 10 > IIRC > > G > > On Jul 10, 2017 14:42, "Matt Sicker" <boa...@gmail.com> wrote: > > > Now I'll admit that I'm not using OSGi anymore nowadays (different > client, > > different requirements, right?), so I'm not sure on what a reasonable > > baseline requirement is for the OSGi API. This should be fine, though at > > worst we might want to drop it down to 5.0.0. I'm thinking it would be > > reasonable to align the OSGi version with the version of Karaf that uses > > Log4j2 by default. > > > > On 10 July 2017 at 16:28, <ggreg...@apache.org> wrote: > > > > > Repository: logging-log4j2 > > > Updated Branches: > > > refs/heads/master ec81e1563 -> bcaa2a40a > > > > > > > > > [LOG4J2-1976] Update org.osgi.core from 4.3.1 to 6.0.0. > > > > > > Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo > > > Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/ > > > commit/bcaa2a40 > > > Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ > > bcaa2a40 > > > Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ > > bcaa2a40 > > > > > > Branch: refs/heads/master > > > Commit: bcaa2a40a473dc3c100edf6a62421d8629f16519 > > > Parents: ec81e15 > > > Author: Gary Gregory <garydgreg...@gmail.com> > > > Authored: Mon Jul 10 14:28:57 2017 -0700 > > > Committer: Gary Gregory <garydgreg...@gmail.com> > > > Committed: Mon Jul 10 14:28:57 2017 -0700 > > > > > > ---------------------------------------------------------------------- > > > pom.xml | 6 +++--- > > > src/changes/changes.xml | 3 +++ > > > 2 files changed, 6 insertions(+), 3 deletions(-) > > > ---------------------------------------------------------------------- > > > > > > > > > http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ > > > bcaa2a40/pom.xml > > > ---------------------------------------------------------------------- > > > diff --git a/pom.xml b/pom.xml > > > index a4b8fb0..b0d63db 100644 > > > --- a/pom.xml > > > +++ b/pom.xml > > > @@ -211,7 +211,7 @@ > > > <docLabel>Site Documentation</docLabel> > > > <projectDir /> > > > <commonsLoggingVersion>1.2</commonsLoggingVersion> > > > - <osgi.api.version>4.3.1</osgi.api.version> > > > + <osgi.api.version>6.0.0</osgi.api.version> > > > <activemq.version>5.14.5</activemq.version> > > > <!-- Allow Clirr severity to be overriden by the command-line > option > > > -DminSeverity=level --> > > > <minSeverity>info</minSeverity> > > > @@ -261,12 +261,12 @@ > > > <dependency> > > > <groupId>org.eclipse.tycho</groupId> > > > <artifactId>org.eclipse.osgi</artifactId> > > > - <version>3.11.2.v20161107-1947</version> > > > + <version>3.12.0.v20170512-1932</version> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.felix</groupId> > > > <artifactId>org.apache.felix.framework</artifactId> > > > - <version>5.6.1</version> > > > + <version>5.6.4</version> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.maven</groupId> > > > > > > http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ > > > bcaa2a40/src/changes/changes.xml > > > ---------------------------------------------------------------------- > > > diff --git a/src/changes/changes.xml b/src/changes/changes.xml > > > index fdb5e74..d3f03bc 100644 > > > --- a/src/changes/changes.xml > > > +++ b/src/changes/changes.xml > > > @@ -208,6 +208,9 @@ > > > <action issue="LOG4J2-1975" dev="ggregory" type="update"> > > > Update javax.persistence from 2.1.0 to 2.1.1. > > > </action> > > > + <action issue="LOG4J2-1976" dev="ggregory" type="update"> > > > + Update org.osgi.core from 4.3.1 to 6.0.0. > > > + </action> > > > </release> > > > <release version="2.8.2" date="2017-04-02" description="GA Release > > > 2.8.2"> > > > <action issue="LOG4J2-1861" dev="mattsicker" type="fix"> > > > > > > > > > > > > -- > > Matt Sicker <boa...@gmail.com> > > > -- Matt Sicker <boa...@gmail.com>