ppkarwasz commented on PR #1165:
URL: https://github.com/apache/logging-log4j2/pull/1165#issuecomment-1364318309

   @adwsingh,
   
   The restriction is not in the code, but in the manifest (which we generate 
with `maven-bundle-plugin`):
   
   ```
   Import-Package:
    org.apache.logging.log4j;version="[2.19,3)",
    org.apache.logging.log4j.internal,
    org.apache.logging.log4j.message;version="[2.19,3)",
    org.apache.logging.log4j.simple;version="[2.19,3)",
    org.apache.logging.log4j.spi;version="[2.19,3)",
    org.apache.logging.log4j.status;version="[2.19,3)",
    org.apache.logging.log4j.util;version="[2.19,3)",
    org.osgi.framework;version="[1.8,2)",
    org.osgi.framework.wiring;version="[1.2,2)",
    sun.reflect;resolution:=optional
   ```
   
   An OSGI framework should not resolve such a bundle if all requirements are 
not satisfied.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to