title: How to generate eclipse project from maven with "Maven Dependencies" instead of "Referenced Libraries" "M2_REPO/.."
body: <p>How can I generate eclipse project from maven like : </p>
  
  <pre><code>mvn eclipse:eclipse 
  </code></pre>
  
  <p>but I need to get .classpath file like this :</p>
  
  <pre><code>&lt;classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"&gt;
      &lt;attributes&gt;
          &lt;attribute name="maven.pomderived" value="true"/&gt;
          &lt;attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/&gt;
      &lt;/attributes&gt;
  &lt;/classpathentry&gt;
  </code></pre>
  
  <p>instead of having all dependencies from pom like this :</p>
  
  <pre><code>&lt;classpathentry kind="var" path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" sourcepath="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar"&gt;
  &lt;attributes&gt;
    &lt;attribute value="jar:file:/home/tr/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-javadoc.jar!/" name="javadoc_location"/&gt;
  &lt;/attributes&gt;
  </code></pre>
  
  <p> ....</p>