ppkarwasz commented on issue #1895:
URL: 
https://github.com/apache/logging-log4j2/issues/1895#issuecomment-1775922018

   @iManageDave,
   
   We use BND to generate JPMS and OSGi descriptors. Unfortunately BND 
considers API leakage a warning:
   ```
   [WARNING] 
/home/piotr/workspace/log4j2/2.x/log4j-layout-template-json/.flattened-pom.xml 
[0:0]: Export org.apache.logging.log4j.layout.template.json,  has 1,  private 
references [org.apache.logging.log4j.layout.template.json.util]
   [WARNING] 
/home/piotr/workspace/log4j2/2.x/log4j-layout-template-json/.flattened-pom.xml 
[0:0]: Export org.apache.logging.log4j.layout.template.json.resolver,  has 1,  
private references [org.apache.logging.log4j.layout.template.json.util]
   ```
   so we didn't see it.
   
   Fortunately we can configure BND to mark these warning as errors.


-- 
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