logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

Generate `Log4jPlugins` class does not compile in JPMS

Open ppkarwasz opened this issue 11 months ago • 7 comments

Currently log4j-plugin-processor in version 3.0.0-beta3 of Log4j Core adds BND annotations to the generated code.

While these might be useful for OSGi users, they cause a compilation error if the biz.aQute.bnd.annotation module is not present:

  • On the compiler classpath,
  • A static dependency on the module is not declared in the module-info.java file.

ppkarwasz avatar Nov 28 '24 16:11 ppkarwasz