Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 823
Fran b Avatar asked Dec 29 '25 00:12

Fran b


1 Answers

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.

like image 152
Michał Kalinowski Avatar answered Dec 31 '25 14:12

Michał Kalinowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!