title: API to download dependencies from pom.xml
body: <p>I am trying to write a java program that takes a maven pom.xml file as input and does following:</p>
  
  <ol>
  <li>Downloads all dependencies</li>
  <li>Adds jars to classpath</li>
  <li>Executes java code (loaded from the jars)</li>
  </ol>
  
  <p>Is it possible? any sample code to achieve #1 above will be greatly appreciated</p>