Search code examples
androideclipsemavenm2eclipseandroid-maven-plugin

How do I fix manifest-update lifecycle error of android-maven-plugin in Eclipse?


When I import an Android Maven project into my Eclipse workspace I am seeing this error in pom.xml:

Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1:manifest-update (execution: update-manifest, phase: process-resources)

How do I fix it? I am using android-maven-plugin 3.6.1, m2eclipse 1.4, m2e-android 0.4.2 and Eclipse Kepler.


Solution

  • This is a known issue with the Android M2E Connector:

    https://github.com/rgladwell/m2e-android/issues/78

    There is a workaround, you can disable this error message by using the quick fix provided by the m2e plugin:

    http://wiki.eclipse.org/M2E_plugin_execution_not_covered