title: Maven Scope for Lombok (Compile vs. Provided)
body: <p>I recently found out that the lombok.jar ends up in our final artifact, which shouldn't be necessary. In my understanding lombok is compile-time only.</p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
              &lt;artifactId&gt;lombok&lt;/artifactId&gt;
              &lt;version&gt;1.14.4&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>But when I set it to scope provided, I get strange behaviour in unit tests. They crash with ClassNotFoundExceptions then when trying to resolve </p>
  
  <pre><code>java.lang.NoClassDefFoundError: com/svv/esp/serviceimpl/dataimport/common/validation/LongValidator
  </code></pre>
  
  <p>Which maven scope is in general used for lombok?</p>
  
  <p>I'm using Oracle JDK build 1.8.0_25-b17 on MacOSX 10.9</p>