Plugin execution not covered by lifecycle configuration

Posted vvonline

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Plugin execution not covered by lifecycle configuration相关的知识,希望对你有一定的参考价值。

Eclipse 环境

在工作空间 .metadata.pluginsorg.eclipse.m2e.core 目录下

增加 lifecycle-mapping-metadata.xml 文件

lifecycle-mapping-metadata.xml 文件内容:

<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
  <pluginExecutions>
    <pluginExecution>
      <pluginExecutionFilter>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <goals>
          <goal>descriptor</goal>
        </goals>
        <versionRange>3.2</versionRange>
      </pluginExecutionFilter>
      <action>
        <ignore />
      </action>
    </pluginExecution>

  </pluginExecutions>
</lifecycleMappingMetadata>

重启Eclipose ,更新maven 就OK了。

 

以上是关于Plugin execution not covered by lifecycle configuration的主要内容,如果未能解决你的问题,请参考以下文章

Plugin execution not covered by lifecycle configuration

解决Maven出现Plugin execution not covered by lifecycle configuration 错误

解决Maven报Plugin execution not covered by lifecycle configuration

Plugin execution not covered by lifecycle configuration的解决方案

maven 报类似 “Plugin execution not covered by lifecycle configuration: org.antlr:antlr3-maven-plugin:3.

pom.xml报Plugin execution not covered by lifecycle configuration错误