Skip to content

Plugin jar contains registration for missing Log4J annotation processor #965

@marcphilipp

Description

@marcphilipp

Expected and Results

The shadow-gradle-plugin-8.3.1.jar contains a META-INF/services/javax.annotation.processing.Processor file that contains a reference to org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor but the annotation processor is not part of the JAR.

I strongly suspect the plugin jar should not contain a META-INF/services/javax.annotation.processing.Processor file at all.

Related environent and versions

8.3.1

Reproduction steps

This yields to problems when compiling Java classes with the plugin jar on the classpath and not using the -proc:none compiler arg.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions