Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-113

OSGi header declares non-optional dependency to Log4j packages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.1.Final
    • Fix Version/s: 3.3.0.Beta1
    • Component/s: None
    • Labels:
      None

      Description

      Currently the following packages are specified via the Import-Package header:

      org.apache.log4j;resolution:=optional,
      org.apache.logging.log4j;version="[2.0,3)";resolution:=optional,
      org.apache.logging.log4j.message;version="[2.0,3)",
      org.apache.logging.log4j.spi;version="[2.0,3)",
      org.jboss.logmanager;version="[1.5,2)";resolution:=optional,
      org.slf4j;version="[1.7,2)";resolution:=optional,
      org.slf4j.spi;version="[1.7,2)";resolution:=optional
      

      I think it should be this instead:

      org.apache.log4j;resolution:=optional,
      org.apache.logging.log4j;version="[2.0,3)";resolution:=optional,
      org.apache.logging.log4j.message;version="[2.0,3)";resolution:=optional,
      org.apache.logging.log4j.spi;version="[2.0,3)";resolution:=optional,
      org.jboss.logmanager;version="[1.5,2)";resolution:=optional,
      org.slf4j;version="[1.7,2)";resolution:=optional,
      org.slf4j.spi;version="[1.7,2)";resolution:=optional
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamezp James Perkins
              Reporter:
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: