title: How to run annotation processor in eclipse on save
body: <p>Currently I generate files with an annotation processor in eclipse for a project by </p>
  
  <pre><code>Right click on project &gt; Run As &gt; Maven Clean
  Right click on project &gt; Run As &gt; Maven install
  </code></pre>
  
  <p>This is quite time consuming. How do I set up eclipse to make it run the annotation processor on save?</p>
  
  <p>I have the "Build Automatically" feature set but it seems to ignore the annotation processors. BTW I am using m2e apt plugin with "Automatically configure JDT APT activated".</p>