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

OSGi header declares non-optional dependency to Log4j packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.2.1.Final
    • None
    • None

      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
      

              jperkins-rhn James Perkins
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: