SSM整合:pom.xml中的`<packaging>`标签上报错:Plugin execution not covered by lifecycle configuration: org.apach
eclipse在pom.xml中的<packaging>标签上报错:Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.6:resources (execution: default-resources, phase: process-resources)
百度了很久,改pom.xml配置文件或改lifecycle-mapping-metadata.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步骤解决其他的问题