Skip to content

Commit

Permalink
Merge pull request #31190 from tudormarc
Browse files Browse the repository at this point in the history
* pr/31190:
  Polish contribution
  Document that Lombok must be configured before our annotation processor

Closes gh-31190
  • Loading branch information
snicoll committed Jun 13, 2022
2 parents d7fa384 + d896d99 commit 09978b3
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -59,6 +59,13 @@ You could also let the AspectJ plugin run all the processing and disable annotat
----
====

[NOTE]
====
If you are using Lombok in your project, you need to make sure that its annotation processor runs before `spring-boot-configuration-processor`.
To do so with Maven, you can list the annotation processors in the right order using the `annotationProcessors` attribute of the Maven compiler plugin.
If you are not using this attribute, and annotation processors are picked up by the dependencies available on the classpath, make sure that the `lombok` dependency is defined before the `spring-boot-configuration-processor` dependency.
====



[[appendix.configuration-metadata.annotation-processor.automatic-metadata-generation]]
Expand Down

0 comments on commit 09978b3

Please sign in to comment.