Plugin execution not covered by lifecycle configuration
来源:互联网 发布:javascript 表格标签 编辑:程序博客网 时间:2024/05/16 08:34
从SVN上下载maven项目到本机,pom.xml文件显示异常,同一个项目同事的就没有问题,就我的有问题,很郁闷。。。
上面就是部分截图,这类问题算是一类问题,总的来说解决方案有两种。
第一种:便捷做法,修改pom.xml文件使用<pluginManagement> 包裹 <plugins>节点
第二种:高端做法,一次性解决所有问题
本人使用的是eclipse在eclipse的安装目录下 eclipse/plugins/org.eclipse.m2e.lifecyclemapping.defaults_xxxx.jar
使用rar或者别的压缩软件打开修改里面一个叫做lifecycle-mapping-metadata.xml的文件,让maven识别出来那个不认识的wsdl2code
在xml文件中添加下面这段代码:
<pluginExecution> <pluginExecutionFilter> <groupId>org.apache.axis2</groupId> <artifactId>axis2-java2wsdl-maven-plugin</artifactId> <versionRange>[1.5.4,)</versionRange> <goals> <goal>java2wsdl</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action></pluginExecution>
其中:groupId,artifactId,versionRang就是第一张图里面的1,2,3标注的。或者说就是你写的<plugin>节点一开始的groupId,artifactId,versionRang
versionRang:版本范围例如[1.5.4,)表示大于等于1.5.4这个版本。
重新关闭打开eclipse,选择项目,右键 maven -> update project.
PS:参考文档 http://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html
0 0
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration...
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Jacoco Maven Plugin - Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 怎么解决 “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
- Eclipse m2e报Plugin execution not covered by lifecycle configuration
- Maven项目:Plugin execution not covered by lifecycle configuration 解决方案
- maven Plugin execution not covered by lifecycle configuration
- 关于Oracle net Manager中点击无法创建监听程序的解决方案
- 双栈排序
- oracle文档
- Bellman-Ford 的动态规划实现
- CentOS下安装软件的常用方法
- Plugin execution not covered by lifecycle configuration
- android音频系统
- eclipse常用快捷键
- 外部引用css时,link和@import两种区别
- JavaScript基础整理--函数 ,对象,作用域等重点
- 无线广告屏接收信号的PCB板
- 编写DLL所学所思(1)——导出函数
- POJ 2104 K-th Number(主席树)
- 大数据 应用场景