eclipse报告Plugin execution not covered by lifecycle configuration
在配置kotlin的MAVEN项目中,Eclipse出现以下错误:
Plugin execution not covered by lifecycle configuration:
org.jetbrains.kotlin:kotlin-maven-plugin:1.0.6:
compile (execution: compile, phase: compile)
解决办法如下,在POM配置文件的plugins标签上包装pluginManagement标签,最终的代码如下:
<build><finalName>kotlin-webapp</finalName><!-- 解决错误的关键在于包装 pluginManagement 标签--><pluginManagement><plugins><plugin><artifactId>kotlin-maven-plugin</artifactId><groupId>org.jetbrains.kotlin</groupId><version>${kotlin.version}</version><executions><execution><id>compile</id><goals><goal>compile</goal></goals><configuration><sourceDirs><sourceDir>${project.basedir}/src/main/kotlin</sourceDir><sourceDir>${project.basedir}/src/main/java</sourceDir></sourceDirs></configuration></execution><execution><id>test-compile</id><goals> <goal>test-compile</goal> </goals><configuration><sourceDirs><sourceDir>${project.basedir}/src/test/kotlin</sourceDir><sourceDir>${project.basedir}/src/test/java</sourceDir></sourceDirs></configuration></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.5.1</version><executions><!-- Replacing default-compile as it is treated specially by maven --><execution><id>default-compile</id><phase>none</phase></execution><!-- Replacing default-testCompile as it is treated specially by maven --><execution><id>default-testCompile</id><phase>none</phase></execution><execution><id>java-compile</id><phase>compile</phase><goals> <goal>compile</goal> </goals></execution><execution><id>java-test-compile</id><phase>test-compile</phase><goals> <goal>testCompile</goal> </goals></execution></executions></plugin></plugins></pluginManagement></build>
eclipse报告Plugin execution not covered by lifecycle configuration相关推荐
- 使用m2e将工程转化为maven工程后eclipse报Plugin execution not covered by lifecycle configuration:xxx plugin问题的解决方法
从官方文档 http://wiki.eclipse.org/M2E_plugin_execution_not_covered 可以了解到,最好的解决方法是交给专门针对该插件的project confi ...
- eclipse Plugin execution not covered by lifecycle configuration:maven.***.plugin
具体是pom 不能引入和识别对应maven-plugin: 例如:Plugin execution not covered by lifecycle configuration: org.apache ...
- 异常处理:Eclipse下解决Plugin execution not covered by lifecycle configuration异常
异常描述: 今天尝试导入Apache Vysper源码,使用eclipse juno+m2e插件,发现如下错误: Plugin execution not covered by lifecycle c ...
- 解决Maven报Plugin execution not covered by lifecycle configuration (转载)
原文地址:http://blog.csdn.net/xxd851116/article/details/25197373 出现场景 以前的老项目,在我的环境(我的环境较新)下,别人老环境不报错. 错误 ...
- Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案...
一. 问题 Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-depend ...
- Maven项目报错:“Plugin execution not covered by lifecycle configuration”解决过程
Maven项目POM文件报错如下: "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:f ...
- 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”...
eclipse在其POM文件的一处提示出错如下:Plugin execution not covered by lifecycle configuration: org.apache.maven.pl ...
- Plugin execution not covered by lifecycle configuration错误解决方案
Q:在POM配置Maven plugin出现如下错误: Plugin execution not covered by lifecycle configuration: org.apache.mave ...
- Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案
转载自:https://www.jianshu.com/p/26bd2f737676 https://www.cnblogs.com/AmilyLin/p/amilyLin.html 一. 问题产生原 ...
最新文章
- C语言的数顺序输出与反序输出_只愿与一人十指紧扣_新浪博客
- nginx location 配置详细解释
- Unity2017.1官方UGUI文档翻译——Scrollbar
- SAP 手工清帐处理
- 海康开放平台音视频方案对比(rtsp、http-flv、hls、rtmp)
- spring 安全编码_Spring安全性和密码编码
- JBoss Drools –入门
- 【渝粤题库】陕西师范大学152102 管理学原理作业(高起专)
- swift 从手机选照片_19元起!定制专属手机壳!还可免费打印照片...
- 牛客14718 开心的涂刷
- 关于项目管理的一点体会
- eclipse无法创建tomcat7.0的server
- img 标签 点击跳出图层_如何用PS在一个图层里画出一个会动的太极八卦图|教程...
- 【Flink】Flink界面如何查看数据是否倾斜
- git修改文件名大小写的方法。
- 微信JS-SDK开发 入门指南
- 中国摊铺和混凝土浇筑设备市场趋势报告、技术动态创新及市场预测
- CentOS7安装MySQL 8.0安装
- python语言通过import_python语言的引入(import)机制简述
- aliez歌词_aLIEz FULL歌词【假名 罗马音】