Fran b
Fran b

Reputation: 3036

android-maven-plugin 3.2.0 with maven 3.0.4 not compile it

When I try compile with maven 3.0.4, Eclipse give me this error:

Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.2.0:generate-sources (default-generate-sources) on project Proyect: The plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0 requires Maven version [3.0.3,) -> [Help 1] [ERROR]

I don't understand because I have maven 3.0.4, m2Eclipse plugin and when I test with 2.x versions yes compile it.

Upvotes: 3

Views: 2545

Answers (2)

MrSnowflake
MrSnowflake

Reputation: 4742

Maybe this will help after that, there is an issue with the android connector for which there's a fix. Atleast it did for me!

Upvotes: 0

Michał Kalinowski
Michał Kalinowski

Reputation: 17943

Are you really sure you're compiling using Maven 3.0.4? Maybe you have your Maven 3.0.4 on disk, but use m2e's embedded Maven 3.0.2 (which is default). Go to Window -> Preferences -> Maven -> Installations to check which Maven version you have set up.

Upvotes: 4

Related Questions