Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds
    primarykey
    data
    text
    <p>I am trying to work with <a href="http://www.springsource.org/spring-data/neo4j" rel="noreferrer">Spring Data and Neo4j</a>. I started by trying to follow <a href="https://github.com/SpringSource/spring-data-graph" rel="noreferrer">this guide</a> linked to by the main site. In particular I based my pom.xml off of the <a href="https://github.com/SpringSource/spring-data-graph-examples/blob/master/hello-worlds/pom.xml" rel="noreferrer">"Hello, World!" example file</a>. Here is a snip from my pom.xml for the plugin that is causing the issues...</p> <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt; &lt;!-- Required to resolve aspectj-enhanced class features --&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.0&lt;/version&gt; &lt;configuration&gt; &lt;outxml&gt;true&lt;/outxml&gt; &lt;aspectLibraries&gt; &lt;aspectLibrary&gt; &lt;groupId&gt;org.springframework&lt;/groupId&gt; &lt;artifactId&gt;spring-aspects&lt;/artifactId&gt; &lt;/aspectLibrary&gt; &lt;aspectLibrary&gt; &lt;groupId&gt;org.springframework.data&lt;/groupId&gt; &lt;artifactId&gt;spring-data-neo4j&lt;/artifactId&gt; &lt;/aspectLibrary&gt; &lt;/aspectLibraries&gt; &lt;source&gt;1.6&lt;/source&gt; &lt;target&gt;1.6&lt;/target&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;!-- ERROR HERE IN ECLIPSE SEE BELOW FOR FULL MESSAGE --&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;compile&lt;/goal&gt; &lt;goal&gt;test-compile&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&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;dependency&gt; &lt;groupId&gt;org.aspectj&lt;/groupId&gt; &lt;artifactId&gt;aspectjtools&lt;/artifactId&gt; &lt;version&gt;${aspectj.version}&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/plugin&gt; </code></pre> <p>The error I am seeing is:</p> <pre><code> Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:compile (execution: default, phase: process-classes) - Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:test-compile (execution: default, phase: process-classes) </code></pre> <p>I am running Eclipse 3.6.2 and m2e 0.13. I'm not a Maven expert, so please be very explanatory in your answers if possible.</p> <p>I've also tried <a href="http://www.eclipse.org/m2e/download/" rel="noreferrer">m2e 1.0.0</a> via <a href="http://download.eclipse.org/technology/m2e/milestones/1.0" rel="noreferrer">this update site</a> and still get the same error.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload