title: maven compile fails because i have a non-maven jar
body: <p>I have a couple of internal libraries which I haven't/don't know how to add to my local maven repository. I've added them to the project's classpath but my maven-compile fails stating that it can't find the classes in the external jars (as expected):</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project proj: Compilation failure: Compilation failure: 
  dir\src\main\java\package\MyClass.java:[8,25] package blah does not exist
  
  dir\src\main\java\package\MyClass.java:[9,25] package blah does not exist
  
  dir\src\main\java\package\MyClass.java:[21,12] cannot find symbol
  symbol  : variable Blah
  location: class package.MyClass
  
  dir\src\main\java\package\MyClass.java:[28,9] cannot find symbol
  symbol  : variable Blah
  location: class package.MyClass
  </code></pre>
  
  <p>How do I tell maven about a jar I've sneakily added to my project's classpath so it can use it to compile?</p>