title: What is endorseddirs and how it is used in a application?
body: <p>In respect to the maven-compiler-plugin. There is a  setting added to my project's POM file. The configuration is given below.</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;2.3.2&lt;/version&gt;
          &lt;configuration&gt;
              &lt;source&gt;1.6&lt;/source&gt;
              &lt;target&gt;1.6&lt;/target&gt;
              &lt;compilerArguments&gt;
                  &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt;
              &lt;/compilerArguments&gt;
          &lt;/configuration&gt;
      &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p>What does it mean to have a <code>&lt;endorseddirs&gt;</code> in the compiler arguments? How does it works with java compiler?</p>