Skip to content

<type>processor</type> does not pick up annotation processor #1031

Description

@inaldt

Affected version

4.0.0-beta-4

Bug description

While trying out maven 4 with the latest compiler plugin with my private project, I stumbled on something curious with regards to annotation processing.

Scenario:

  • run ./mvnw compile in the root folder of this project
  • expected: a class named MyGeneratedClass gets generated
  • actual: no code gets generated

Note: said class does get generated if one uses the (now deprecated) AnnotationProcessorPaths element, as commented out in the pom of the clientproject subproject.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions