title: aspectj-maven-plugin not covered by lifecycle in Kepler
body: <p>I've just downloaded the OEPE (Kepler) and installed m2e and m2e-wtp connectors.
  I found out that under this path: Preferences ->Maven->Lifecycle mappings->Open workspace lifecycle mapping data there is a preconfigured xml file which says that maven should ignore the compile goal for AspectJ and I assume that's why the AspectJ runtime libraries are not added to the project hence the project is not recognized as an AspectJ project by eclipse.</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;lifecycleMappingMetadata&gt;
  &lt;pluginExecutions&gt;
      &lt;pluginExecution&gt;
          &lt;pluginExecutionFilter&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
              &lt;versionRange&gt;1.6&lt;/versionRange&gt;
              &lt;goals&gt;
                  &lt;goal&gt;compile&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/pluginExecutionFilter&gt;
          &lt;action&gt;
              &lt;ignore /&gt;
          &lt;/action&gt;
      &lt;/pluginExecution&gt;
  &lt;/pluginExecutions&gt;
  </code></pre>
  
  <p></p>
  
  <p>I commented out these lines in the xml file and reloaded it once again.
  Now the IDE does not ignore AspectJ plugin tag in the lifecycle but  pom file is complaining that it cannot recognize the execution tag.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt;
  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
  &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;1.4&lt;/version&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
          &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
          &lt;version&gt;${aspectj.version}&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;configuration&gt;
      &lt;source&gt;1.6&lt;/source&gt;
      &lt;target&gt;1.6&lt;/target&gt;
  &lt;/configuration&gt;
  &lt;executions&gt;
      &lt;execution&gt;
          &lt;goals&gt;
              &lt;goal&gt;compile&lt;/goal&gt;
          &lt;/goals&gt;
      &lt;/execution&gt;
  &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Using indigo the m2e-wtp was able to recognize the <code>&lt;execution&gt;</code> tag for aspectj plugin and able to add the AspectJ runtime libraries
  automatically to the project, though this is not the case in Kepler.  (I think it is m2e-wtp's job to make an AspectJ project out of the pom but not quite sure.)</p>
  
  <p>Btw. the how can I make things work like in Indigo?
  I know I can right click on the project and convert it to aspect project in order to solve the problem but I want the IDE and plugins realize from the pom file that this project needs AspectJ jars.  Any idea?</p>