title: Maven: add a folder or jar file into current classpath
body: <p>I am using maven-compile plugin to compile classes. Now I would like to add one jar file into the current classpath. That file stays in another location (let's say c:/jars/abc.jar . I prefer to leave this file here). How can I do that?</p>
  <p>If I use classpath in the argument:</p>
  <pre><code>&lt;configuration&gt;
   &lt;compilerArguments&gt;
    &lt;classpath&gt;c:/jars/abc.jar&lt;/classpath&gt;
   &lt;/compilerArguments&gt;
  &lt;/configuration&gt;
  </code></pre>
  <p>it will not work because it will override the current classpath (that includes all the dependencies)</p>