您的位置:首页 > Web前端

pom.xml文件报错:Plugin execution not covered by lifecycle..

2016-06-27 18:42 477 查看
今天导入了一个maven项目,一切都配置好后,pom.xml文件有报错,参考了一个英文版的说明,算是解决了,这里记录下

1、打开eclipse或myeclipse的问题显示窗口:'Window' -> 'Show View' -> 'Problems'

2、右击一个显示描述为“ 'Plugin execution not covered by
lifecycle configuration: com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0:generate (execution: default, phase: initialize)'”的报错信息,在弹出的菜单中选着“'Quick Fix'”

3、在Quick Fix窗口中,选中 'Permanently mark goal generate in pom.xml as ignored in Eclipse build',然后点击 'Finish'-》选 'OK' 

4、Eclipse和myeclipse可能会报错 'Projct configuration is not up-to-date with pom.xml. Run project configuration update'.按照上述方法,右击“quick
Fix”解决

5、重复 2-3步骤解决其他的问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  maven myeclipse