title: Iterate through maven project's dependency jars with eclipse-resource-api (plugin development)
body: <p>I have a maven project. And i want to iterate through its dependency jar projects and read some property files in them.
  With eclipse resource api, i can get an IProject instance in workspace and access its classpath file.</p>
  <p>Class-path has the following structure.</p>
  <pre><code>    &lt;classpathentry kind=&quot;con&quot; path=&quot;org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER&quot;&gt;
          &lt;attributes&gt;
              &lt;attribute name=&quot;maven.pomderived&quot; value=&quot;true&quot;/&gt;
              &lt;attribute name=&quot;org.eclipse.jst.component.nondependency&quot; value=&quot;&quot;/&gt;
          &lt;/attributes&gt;
      &lt;/classpathentry&gt;
  </code></pre>
  <p>How can i extract the actual dependency jar locations from this?</p>
  <p>i was expecting something like this instead</p>
  <pre><code>&lt;classpath&gt;
   &lt;classpathentry kind=&quot;var&quot; path=&quot;M2_REPO/apache-xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar&quot;/&gt;
   &lt;classpathentry kind=&quot;var&quot; path=&quot;M2_REPO/apache-xerces/xml-apis/2.9.1/xml-apis-2.9.1.jar&quot;/&gt;
  &lt;/classpath&gt;
  </code></pre>
  <p>2.Or is there any better approach than this to read through maven dependency jars programatically?</p>