Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0

alexm picture alexm · Jul 22, 2011 · Viewed 24k times · Source

I switched from q4e Helios to Indigo m2e plugin and my Maven 2 project no longer works. I had a ROO-generated Spring MVC project.

This is what I get:

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:test-compile (execution: default, phase: process-test-sources)
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0:compile (execution: default, phase: process-sources)

Any insight is greatly appreciated. Thank you.

Answer

Chepech picture Chepech · Oct 21, 2011

If you upgraded to m2e plugin from version 0.xx to version 1.0 thats probably what caused the issues you are having, This may be helpful (it is intended for SpringSuource Tool Suite but I fixed an regular Eclipse following the advices at the end on the section called "Uh oh…my projects no longer build");

http://blog.springsource.com/2011/10/18/upgrading-maven-integration-for-springsource-tool-suite-2-8-0/