Skip to content

Support slf4j2 in OSGi #3266

@msqr

Description

@msqr

The generated OSGi package import metadata limits slf4j to a version range [1.7,2) however Ehcache is compatible with slf4j 2. Could the version range be loosed to support v2, for example by allowing anything >= 1.7 with a version range of just 1.7? For example:

instruction Constants.IMPORT_PACKAGE, 'javax.cache.*;resolution:=optional, jdk.internal.misc;resolution:=optional, !javax.annotation, !sun.misc, jakarta.xml.bind*;version="3", org.slf4j.*;version="1.7", *'

Note I have shown a proposed additional change re #3265.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions