title: Maven eclipse does not add a dependency
body: <p>I have the following snippet in my pom.xml (Full pom attached below which can be executed)</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;aspectj&lt;/groupId&gt;
      &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
      &lt;version&gt;1.5.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>and in one of my Java files I refer a class <code>org.aspectj.lang.ProceedingJoinPoint</code>. When I do a "mvn clean install" it compiles and builds fine but when I do an eclipse:eclipse, and import the project in eclipse it gives me an error <code>The import org.aspectj cannot be resolved</code>. I checked the .classpath file that was generated and it does not have an entry to this file. I tried a "mvn dependency:tree" and it lists this fine. </p>
  
  <p>I don't have any fancy settings for not compiling any java files. It is just a routine pom which puzzles me.</p>
  
  <p>Can someone tell me what is going wrong here?</p>
  
  <p>UPDATE 1: I am using maven eclipse plugin Version: 2.7</p>
  
  <p>UPDATE 2: Just use pom below and do a <code>mvn eclipse:clean eclipse:eclipse</code> from the command line</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.ekanathk&lt;/groupId&gt;
      &lt;artifactId&gt;stackoverflow&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;aspectj&lt;/groupId&gt;
              &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
              &lt;version&gt;1.5.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;aspectj&lt;/groupId&gt;
              &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
              &lt;version&gt;1.5.3&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>