Android的Maven的插件3.2.0与Maven 3.0.4未编译 [英] android-maven-plugin 3.2.0 with maven 3.0.4 not compile it

查看:186
本文介绍了Android的Maven的插件3.2.0与Maven 3.0.4未编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用Maven 3.0.4编译时,Eclipse给我这个错误:

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

未能执行目标com.jayway.maven.plugins.android.generation2:Android的Maven的插件:3.2.0:产生-源项目Proyect(默认生成-源):插件com.jayway.maven .plugins.android.generation2:Android的Maven的插件:3.0.0要求Maven的版本[3.0.3) - > [说明1]   [错误]

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]

我不明白,因为我的Maven 3.0.4,m2eclipse插件,当我测试用x版本是编译。

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

推荐答案

您真的确定你正在使用Maven 3.0.4编译?也许你有你的磁盘上的Maven 3.0.4,但使用M2E的嵌入式Maven的3.0.2(这是默认值)。转到窗口 - > preferences - > Maven的 - >安装来检查哪些Maven的版本中,你已经设置了。

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.

这篇关于Android的Maven的插件3.2.0与Maven 3.0.4未编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆