title: How to make AspectJ and Lombok co-work with maven?
body: <p>I've tried the way in this link: <a href="https://palesz.wordpress.com/2011/12/03/howto-maven-lombok-and-aspectj-together/" rel="nofollow noreferrer">https://palesz.wordpress.com/2011/12/03/howto-maven-lombok-and-aspectj-together/</a></p>
  
  <p>But the error shows:</p>
  
  <pre><code>[ERROR] no sources specified
      &lt;unknown source file&gt;:&lt;no line information&gt;
  
  [ERROR] AspectJ Compiler 1.8.9
  
      Usage: &lt;options&gt; &lt;source file | @argfile&gt;..
  </code></pre>
  
  <p>I used the plugin like this:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.10&lt;/version&gt;
      &lt;configuration&gt;
          &lt;verbose&gt;true&lt;/verbose&gt;
          &lt;showWeaveInfo /&gt;
          &lt;forceAjcCompile&gt;true&lt;/forceAjcCompile&gt;
          &lt;sources /&gt;
          &lt;complianceLevel&gt;1.8&lt;/complianceLevel&gt;
          &lt;source&gt;1.8&lt;/source&gt;
          &lt;target&gt;1.8&lt;/target&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;phase&gt;process-classes&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;compile&lt;/goal&gt;
                  &lt;goal&gt;test-compile&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>And the relevant dependencies are:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
      &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
      &lt;version&gt;1.8.10&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
      &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
      &lt;version&gt;1.8.10&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>