Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide documentation how to manually provide annotation processors in maven/gradle #188

Open
krzyk opened this issue Sep 24, 2024 · 0 comments
Labels
good first issue Good for newcomers PR welcome A PR submitted for this issue would be welcome

Comments

@krzyk
Copy link

krzyk commented Sep 24, 2024

During builds javac prints out following info (from maven):

[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.

It would be good to provide documentation in README how to provide the annotation processor for record builder so the above warning will disappear.

And more importantly, it is required for JDK 23, because annotation processors are not searched on the class path anymore.
(https://inside.java/2024/06/18/quality-heads-up/)

@Randgalt Randgalt added PR welcome A PR submitted for this issue would be welcome good first issue Good for newcomers labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers PR welcome A PR submitted for this issue would be welcome
Projects
None yet
Development

No branches or pull requests

2 participants