title: Maven compiler recompile all files instead modified
body: <p>Even if I only change one of my classes, Maven always recompiles all of them. I use this plugin configuration:</p>
  
  <pre><code>&lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;staleMillis&gt;1&lt;/slateMillis&gt;
          &lt;useIncrementalCompilation&gt;true&lt;/useIncrementalCompilation&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p>This happens with <code>mvn compile</code>, <code>mvn package</code> and <code>mvn install</code>.</p>
  
  <p>Of course this is not a problem if you have 10-15 files. However, I have more than one thousand source files and it takes a lot of time.</p>
  
  <p>Does the Maven compiler plugin have some hidden settings to recompile only modified files? Are there any workarounds?</p>