POM错误(eclipse osgi)

时间:2012-09-28 16:50:47

标签: eclipse maven m2eclipse

我已经暂时解决了这个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的片段有问题。

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

以前是否有人见过这个?

1 个答案:

答案 0 :(得分:0)

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