Plugin execution not covered by lifecycle configuration 问题解决

我从github上clone guava源码,eclipse会报错,错误内容如下:

Plugin execution not covered by lifecycle configuration: 
org.apache.felix:maven-bundle-plugin:2.5.0:manifest 
(execution: bundle-manifest, phase: process-classes)

问题的解决当然来自广大网友,如下我做下总结

org.apache.felix
maven-bundle-plugin
2.5.0
manifest

//找准对应关系

<pluginExecution>
    <pluginExecutionFilter>
        <groupId>org.apache.felixgroupId>
        <artifactId>maven-bundle-pluginartifactId>
        <versionRange>[2.5.0,)versionRange>
        <goals>
            <goal>manifestgoal>
        goals>
    pluginExecutionFilter>
    <action>
        <ignore />
    action>
pluginExecution>

见图说明步骤

Plugin execution not covered by lifecycle configuration 问题解决_第1张图片

最后 maven –》update project,ok!

你可能感兴趣的:(java)