异常描述:

今天尝试导入Apache Vysper源码,使用eclipse juno+m2e插件,发现如下错误:

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:properties-maven-plugin:1.0-alpha-1:write-project-properties (execution: default, phase: generate-resources)

原因是eclipse的m2e插件还没有支持到execution:http://wiki.eclipse.org/M2E_plugin_execution_not_covered

解决办法如下。

修改前的配置:

  <build> <plugins><plugin><groupId>org.codehaus.mojo</groupId><artifactId>properties-maven-plugin</artifactId><version>1.0-alpha-1</version><executions><execution><phase>generate-resources</phase><goals><goal>write-project-properties</goal></goals><configuration><outputFile>${project.build.outputDirectory}/org/apache/vysper/xmpp/server/vysperserver.properties</outputFile></configuration></execution></executions></plugin></plugins></build>

修改之后的配置:

<build><pluginManagement><plugins><!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --><plugin><groupId>org.eclipse.m2e</groupId><artifactId>lifecycle-mapping</artifactId><version>1.0.0</version><configuration><lifecycleMappingMetadata><pluginExecutions><pluginExecution><pluginExecutionFilter><groupId>org.codehaus.mojo</groupId><artifactId>aspectj-maven-plugin</artifactId><versionRange>[1.0,)</versionRange><goals><goal>test-compile</goal><goal>compile</goal></goals></pluginExecutionFilter><action><execute /></action></pluginExecution></pluginExecutions></lifecycleMappingMetadata></configuration></plugin><plugin><groupId>org.codehaus.mojo</groupId><artifactId>properties-maven-plugin</artifactId><version>1.0-alpha-1</version><executions><execution><phase>generate-resources</phase><goals><goal>write-project-properties</goal></goals><configuration><outputFile>${project.build.outputDirectory}/org/apache/vysper/xmpp/server/vysperserver.properties</outputFile></configuration></execution></executions></plugin></plugins></pluginManagement></build>

参考:http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin

异常处理:Eclipse下解决Plugin execution not covered by lifecycle configuration异常相关推荐

  1. 解决Maven报Plugin execution not covered by lifecycle configuration (转载)

    原文地址:http://blog.csdn.net/xxd851116/article/details/25197373 出现场景 以前的老项目,在我的环境(我的环境较新)下,别人老环境不报错. 错误 ...

  2. Maven项目报错:“Plugin execution not covered by lifecycle configuration”解决过程

    Maven项目POM文件报错如下: "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:f ...

  3. eclipse报告Plugin execution not covered by lifecycle configuration

    在配置kotlin的MAVEN项目中,Eclipse出现以下错误: Plugin execution not covered by lifecycle configuration: org.jetbr ...

  4. eclipse Plugin execution not covered by lifecycle configuration:maven.***.plugin

    具体是pom 不能引入和识别对应maven-plugin: 例如:Plugin execution not covered by lifecycle configuration: org.apache ...

  5. 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”...

    eclipse在其POM文件的一处提示出错如下:Plugin execution not covered by lifecycle configuration: org.apache.maven.pl ...

  6. 解决Maven报Plugin execution not covered by lifecycle configuration

    解决Maven报Plugin execution not covered by lifecycle configuration http://blog.csdn.net/xxd851116/artic ...

  7. 解决Maven报错:Plugin execution not covered by lifecycle configuration

    当一个新的maven项目导入到工作空间中可能会遇到maven插件lifecycle configuration 错误,例如: Plugin execution not covered by lifec ...

  8. Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案...

    一. 问题 Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-depend ...

  9. Plugin execution not covered by lifecycle configuration错误解决方案

    Q:在POM配置Maven plugin出现如下错误: Plugin execution not covered by lifecycle configuration: org.apache.mave ...

最新文章

  1. python少量数据分析代码_10个可以快速用Python进行数据分析的小技巧!
  2. [Recompose] Render Nothing in Place of a Component using Recompose
  3. javascript中String的fromCharCode()方法
  4. fastexcel读取excel追加写入sheet页_python笔记52:python操作excel
  5. mysql中怎么表示100美元_MySQL 事物,美国服务器
  6. vue引入id3_使用决策树ID3算法,预测收入是否大于50k
  7. Javascript 也玩多线程
  8. Xml遍历某一节点值
  9. word段落居中的快捷键_Word一分钟完成人员名单排版,这方法又快又好!
  10. Anker—学习成长笔记
  11. html代码seo,SEO必学基础html代码基础
  12. There is no getter for property named ‘pCode‘ in ‘classXXX‘
  13. NG-ALAIN的使用
  14. 大学计算机课程ppt,以计算思维为导向的大学计算机基础课
  15. Eclipse delete键不能向后删除
  16. Android渐变遮罩
  17. 梯度下降算法的解释及直观展示
  18. 基于javaweb的宠物商城系统(java+jsp+javascript+servlet+mysql)
  19. linux ubantu snmp服务,ubuntu 20.04 snmp安装配置
  20. html中a标签的属性

热门文章

  1. linux环境下 go语言识别biso数据
  2. 【大师教】利用工业机器人四种编程技术来提高生产效率
  3. 简单的一些安全知识总结
  4. Docker修改容器内部文件的方法
  5. 【FPGA】FPGA sdram读写实现
  6. 一文教懂你关于Elasticsearch的安装配置
  7. JavaEE-HTTP协议(一)
  8. 重构是改革,重写是革命
  9. 共指消解/指代消解 spacy+neuralcoref 排坑
  10. 网站推荐:snapmail