apache / apache/maven-compiler-plugin

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

Open
#1,031 5 comments 0 reactions 1 assignee Claimed by @desruisseaux View on GitHub
bug
Dominant language
Java
Stars
261
Forks
191
Avg merge
1d 5h
Merged PRs (30d)
8

Description

### 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](https://github.com/inaldt/maven4test)
* 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.