Mario Dennis
Mario Dennis

Reputation: 3016

Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:consume-aar

I've installed Eclipse Kepler then installed the Android Development Toolkit and the M2E Android Connector Plugin so I can manage my android projects with maven. However, when I create a new project I'm getting the following error:

 Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:consume-aar 

This kinda strange because the M2E Android Connector is installed so what is causing this and how can I fix it?

Upvotes: 3

Views: 545

Answers (1)

Eugene Loy
Eugene Loy

Reputation: 12416

The reason of the problem you are facing is that handling consume-aar goal is not yet implemented in m2e-android (Android Connector for M2E).

Here is the relevant m2e-android ticket for this, witch is in turn blocked by fact that ADT does not implement AAR support (ADT ticket).

Until these tickets are fixed there is a workaround for this but I cannot guarantee that it will work in all cases (basically it tells Maven integration with Eclipse to skip problematic build step).

An alternative solution would be to opt out for Android Studio (as far as I know it is implemented there).

Hope this will help.

Upvotes: 4

Related Questions