美文网首页
me2esclipse maven error: plugin

me2esclipse maven error: plugin

作者: Sleven1983 | 来源:发表于2015-01-26 14:59 被阅读289次

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...

相关文章

网友评论

      本文标题:me2esclipse maven error: plugin

      本文链接:https://www.haomeiwen.com/subject/kfpkxttx.html