Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.11.0
-
None
Description
maven compiler plugin 3.11 on Java 21 reports
[INFO] Annotation processing is enabled because one or more processors were found
on the class path. A future release of javac may disable annotation processing
unless at least one processor is specified by name (-processor), or a search
path is specified (--processor-path, --processor-module-path), or annotation
processing is enabled explicitly (-proc:only, -proc:full).
Use -Xlint:-options to suppress this message.
Use -proc:none to disable annotation processing.
However, the <proc> option only supports "none" and "proc", not "full" (which is the implicit default).
Adding this through a compiler option:
<configuration>
<compilerArgs>
<arg>-proc:full</arg>
</compilerArgs>
</configuration>
fixes this warning. Adding "full" as a value for the compiler plugin would fix it, too.
Attachments
Issue Links
- links to