【问题标题】:How do I fix manifest-update lifecycle error of android-maven-plugin in Eclipse?如何修复 Eclipse 中 android-maven-plugin 的 manifest-update 生命周期错误?
【发布时间】:2013-09-04 06:44:28
【问题描述】:

当我将一个 Android Maven 项目导入我的 Eclipse 工作区时,我在 pom.xml 中看到了这个错误:

生命周期配置未涵盖插件执行: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1:manifest-update (执行:update-manifest,阶段:process-resources)

我该如何解决?我正在使用 android-maven-plugin 3.6.1、m2eclipse 1.4、m2e-android 0.4.2 和 Eclipse Kepler。

【问题讨论】:

    标签: android eclipse maven m2eclipse android-maven-plugin


    【解决方案1】:

    这是Android M2E Connector 的一个已知问题:

    https://github.com/rgladwell/m2e-android/issues/78

    有一个解决方法,您可以使用 m2e 插件提供的快速修复来禁用此错误消息:

    http://wiki.eclipse.org/M2E_plugin_execution_not_covered

    【讨论】:

      【解决方案2】:

      我通过将所有插件放在<pluginManagement> 标签中解决了这个问题:

      <build>
       <pluginManagement>
         <plugins>
          <plugin>
             ...
          </plugin>
         </plugins>
       </pluginManagement>
      </build>
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-10-26
        • 1970-01-01
        • 1970-01-01
        • 2013-05-04
        相关资源
        最近更新 更多