android-maven-plugin 3.8.2不在生命周期中

时间:2014-05-11 23:48:23

标签: eclipse maven m2e android-maven-plugin m2e-wtp

在Eclipse 4.3.2上,我的POM使用com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.1没有问题。我尝试将其升级到3.8.2(最新版本),我得到了可怕的“生命周期配置未涵盖的插件执行”错误。

当然,我试图对“发现新的m2e连接器”进行“快速修复”。但m2e市场说“没有市场项目可用”。我该怎么办?

其他信息

我安装了m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545 org.eclipse.m2e.wtp.feature.feature.group。当我尝试从市场上安装“Maven Integration for Eclipse(Juno and newer)1.4”时,它告诉我没有什么可以更新的。当我试图从市场上安装“Maven Integration for Eclipse WTP(Juno)1.0.1”时,我被告知:

Cannot complete the install because one or more required items could not be found.
Software being installed: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
Missing requirement: Maven JPA Configurator 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa 1.0.1.e42-20130821-1033) requires 'bundle org.eclipse.jpt.jpa.core [3.0.0,3.3.0)' but it could not be found
Cannot satisfy dependency:
  From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
  To: org.eclipse.m2e.wtp.jpa [1.0.1.e42-20130821-1033]

(叹气)这种依赖性的东西已经失控......我完全迷失了。

1 个答案:

答案 0 :(得分:1)

我在maven-android-plugin changelog中注意到版本3.8.2需要Maven 3.1.1+。我正在使用Maven 3.0.5(另一个客户端需要)。我还注意到更改日志提到即将推出的版本3.9.0将“从直接的Aether使用变为依赖树使用,从而允许与Maven 3.0.x兼容,因此与IDE和其他具有此嵌入式Maven版本的工具兼容”

所以我切换到maven-android-plugin 3.7.0,这是表明Maven 3.0.x支持的最后一个版本,连接器错误消失了。

更新:截至2014-06-01,该插件的3.9.0-rc.2版适用于Maven 3.0.5,因此我假设最终版本也是如此。

更新2014-06-08:今天我更新到Eclipse 4.4RC4,并且我再次收到“生命周期配置未涵盖的插件执行”错误。