me2esclipse maven error: plugin execution not covered by lifecycle configuration

Issue Description

Maven编译时,因为版本更新不兼容的原因,me2eclipse (Maven的eclipse插件)会产生一下错误

Plugin execution not covered by lifecycle configuration:org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile(execution:default-compile,phase:compile)

以上事例中:

org.apache.maven.plugins - groupId

maven-compiler-plugin - artifactId

2.3.2 - version

compile - goal

Workaround

1. Preferences -> Maven -> Lifecycle Mappings -> Open workspace lifecycle mappings metadata


2. 加入以下配置


3. Preferences -> Maven -> Lifecycle Mappings -> Reload workspace lifecycle mappings metadata

4. Project右键 -> Maven -> Update Project...

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容