title: Can I add jars to Maven 2 build classpath without installing them?
body: <p>Maven 2 is driving me crazy during the experimentation / quick and dirty mock-up phase of development.</p>
  <p>I have a <code>pom.xml</code> file that defines the dependencies for the web-app framework I want to use, and I can quickly generate starter projects from that file. However, sometimes I want to link to a 3rd party library that doesn't already have a <code>pom.xml</code> file defined, so rather than create the <code>pom.xml</code> file for the 3rd party lib by hand and install it, and add the dependency to my <code>pom.xml</code>, I would just like to tell Maven: &quot;In addition to my defined dependencies, include any jars that are in <code>/lib</code> too.&quot;</p>
  <p>It seems like this ought to be simple, but if it is, I am missing something.</p>
  <p>Any pointers on how to do this are greatly appreciated. Short of that, if there is a simple way to point maven to a <code>/lib</code> directory and easily create a <code>pom.xml</code> with all the enclosed jars mapped to a single dependency which I could then name / install and link to in one fell swoop would also suffice.</p>