title: Lombok Annotations not processing in tests - Bazel
body: <p>I am trying to use Lombok for a project along with Bazel. The Lombok annotations are not resolved in the test files. Does anyone have suggestions on how to resolve this issue?</p>
  <p>I have enabled the Lombok Plugin and Annotation Processing in IntelliJ</p>
  <pre><code>java_library(
      name = &quot;lombok&quot;,
      exports = [
          &quot;@maven//:org_projectlombok_lombok&quot;,
      ],
      exported_plugins = [
          &quot;:lombok_plugin&quot;
      ],
  )
  
  java_plugin(
      name = &quot;lombok_plugin&quot;,
      processor_class = &quot;lombok.launch.AnnotationProcessorHider$AnnotationProcessor&quot;,
      deps = [
          &quot;:lombok_jar&quot;,
      ],
  )
  
  java_import(
      name = &quot;lombok_jar&quot;,
      jars = [
        &quot;@maven//:v1/https/repo1.maven.org/maven2/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar&quot;
      ],
  )
  </code></pre>
  <p>Thanks</p>