Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-595

Support plugin preloading through the standard javax.annotation.processing tool

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.0-rc2
    • Component/s: Core
    • Environment:

      Recent versions of Java and Maven

      Description

      Currently, in order to preload plugins, you have to add an exec-maven-plugin task to scan your code. Ideally, there'd be an annotations artifact (at least for the plugin annotations, but really just has to have all the necessary ones used for this) and a processor artifact that you'd include in your project. Then the maven-compiler-plugin would automatically run that annotation processor on your project during the compile phase. This would require less work from the end user to support their own custom plugins.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvz Matt Sicker
                Reporter:
                jvz Matt Sicker
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: