title: Determining which jars a project actually requires
body: <p>I've inherited a project (non-mavenized) which has a <code>lib</code> folder with approx 45 <code>.jar</code>'s within it.  </p>
  
  <p>I'm fairly certain that not all of those jars are required.</p>
  
  <p>Is there a way I can determine from the source of the project which <code>jar</code>'s really are required, and which are adding no value, and are safe to remove?</p>
  
  <p>Ideally I'd like to identify the "direct" dependencies, (ie., non-transitive) so I can extract these to a <code>pom</code>.</p>