异常处理:Eclipse下解决Plugin execution not covered by lifecycle configuration异常
异常描述:
今天尝试导入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异常相关推荐
- 解决Maven报Plugin execution not covered by lifecycle configuration (转载)
原文地址:http://blog.csdn.net/xxd851116/article/details/25197373 出现场景 以前的老项目,在我的环境(我的环境较新)下,别人老环境不报错. 错误 ...
- Maven项目报错:“Plugin execution not covered by lifecycle configuration”解决过程
Maven项目POM文件报错如下: "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:f ...
- eclipse报告Plugin execution not covered by lifecycle configuration
在配置kotlin的MAVEN项目中,Eclipse出现以下错误: Plugin execution not covered by lifecycle configuration: org.jetbr ...
- eclipse Plugin execution not covered by lifecycle configuration:maven.***.plugin
具体是pom 不能引入和识别对应maven-plugin: 例如:Plugin execution not covered by lifecycle configuration: org.apache ...
- 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”...
eclipse在其POM文件的一处提示出错如下:Plugin execution not covered by lifecycle configuration: org.apache.maven.pl ...
- 解决Maven报Plugin execution not covered by lifecycle configuration
解决Maven报Plugin execution not covered by lifecycle configuration http://blog.csdn.net/xxd851116/artic ...
- 解决Maven报错:Plugin execution not covered by lifecycle configuration
当一个新的maven项目导入到工作空间中可能会遇到maven插件lifecycle configuration 错误,例如: Plugin execution not covered by lifec ...
- Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案...
一. 问题 Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-depend ...
- Plugin execution not covered by lifecycle configuration错误解决方案
Q:在POM配置Maven plugin出现如下错误: Plugin execution not covered by lifecycle configuration: org.apache.mave ...
最新文章
- python少量数据分析代码_10个可以快速用Python进行数据分析的小技巧!
- [Recompose] Render Nothing in Place of a Component using Recompose
- javascript中String的fromCharCode()方法
- fastexcel读取excel追加写入sheet页_python笔记52:python操作excel
- mysql中怎么表示100美元_MySQL 事物,美国服务器
- vue引入id3_使用决策树ID3算法,预测收入是否大于50k
- Javascript 也玩多线程
- Xml遍历某一节点值
- word段落居中的快捷键_Word一分钟完成人员名单排版,这方法又快又好!
- Anker—学习成长笔记
- html代码seo,SEO必学基础html代码基础
- There is no getter for property named ‘pCode‘ in ‘classXXX‘
- NG-ALAIN的使用
- 大学计算机课程ppt,以计算思维为导向的大学计算机基础课
- Eclipse delete键不能向后删除
- Android渐变遮罩
- 梯度下降算法的解释及直观展示
- 基于javaweb的宠物商城系统(java+jsp+javascript+servlet+mysql)
- linux ubantu snmp服务,ubuntu 20.04 snmp安装配置
- html中a标签的属性