MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

  • Post author:
  • Post category:其他



用myeclipse 2014 整maven 项目时,pom.xml文件中报以下两个异常:


Multiple annotations found at this line:



– Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-



plugin:2.5:testResources (execution: default-testResources, phase: process-test-resources)



– Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-



plugin:2.5:resources (execution: default-resources, phase: process-resources)


解决方案1:




把maven的版本从3.3.1改成3.1.1





\



解决方案2:



点击图中的红色字体会出现面内容

















版权声明:本文为u012184337原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。