How to use Lombok when JPAMetaModelEntityProcessor annotation processor is activated in the maven build.
Maven config:
[...]
After a look into the lombok project I found a solution.
When specifying the JPAMetaModelEntityProcessor as javac annotation processor, the lombok processor seems to be removed.
To correct this, we can simply add the Lombok annotation processor in the maven-compiler-plugin:
[...]
maven-compiler-plugin
org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor,lombok.launch.AnnotationProcessorHider$AnnotationProcessor
[...]