1

I can build the project from command line, but when I import it to Eclipse I get following error in pom.xml:

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: 
 org.apache.maven.plugins:maven-resources-plugin:2.6:testResources 
 (execution: default-testResources, phase: process-test-resources)
- Plugin execution not covered by lifecycle configuration: 
 org.apache.maven.plugins:maven-resources-plugin:2.6:resources 
 (execution: default-resources, phase: process-resources)

Eclipse Maven Integration plugin is using Maven version 3.2.1, and my system is also using the same version.

What could be the reason for this error? How to resolve it?

nabster
  • 1,477
  • 2
  • 21
  • 31
Bosco
  • 3,375
  • 5
  • 24
  • 33

1 Answers1

0
  1. You should install or update M2Eclipse i.e. Maven integration for
    eclipse
  2. Restart eclipse
  3. Delete project and add project again

This should resolve your error

Megha
  • 81
  • 2
  • 7