【问题标题】:Error in POM (eclipse osgi)POM 中的错误(eclipse osgi)
【发布时间】:2012-09-28 16:50:47
【问题描述】:

我已经收到这个 maven 错误有一段时间了:

Plugin execution not covered by lifecycle configuration: com.cerner.engineering:cerner-    osgi-plugin:3.1.1:generate-osgi-manifest (execution: default, phase: 
 compile)

这是我的 pom 的 sn-p 有问题。

<execution>
    <goals>
        <goal>generate-osgi-manifest</goal>
        <goal>generate-test-osgi-manifest</goal>
    </goals>
</execution>

有人见过吗?

【问题讨论】:

    标签: eclipse maven m2eclipse


    【解决方案1】:

    您必须手动配置生命周期映射。生命周期映射是由 m2e 引入的,因此如果您在 Eclipse 中构建,Eclipse 知道如何处理您的 Maven 插件。见this question

    【讨论】:

      猜你喜欢
      • 2018-08-23
      • 2015-12-21
      • 2021-08-02
      • 2012-07-12
      • 1970-01-01
      • 2011-11-29
      • 1970-01-01
      • 2013-03-02
      • 1970-01-01
      相关资源
      最近更新 更多