Skip to content

Generate Log4jPlugins class does not compile in JPMS #3251

Open
@ppkarwasz

Description

@ppkarwasz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions