There is a problem; m2e doesn't like maven-eclipse-plugin results and occasionally produce an error.
So my suggestion, don't use "mvn eclipse:eclipse" cli to convert Maven project into Eclipse's.
Import Maven Project To Eclipse
M2e provide a wizard for this purpose. This wizard can be found in the Import menu: File->Import.- Open menu: File->Import
- Select wizard: Maven->Existing Maven Project
- On the "Import Maven Projects" wizard, select root directory. Root directory is a folder contain Maven projects. (Maven project is a folder contain pom file and other folder like src...etc). Please don't be confused with this two different things.
- After root directory is selected, the existing Maven project will be displayed.
- Click "Finish" button to start importing process, then you will get the project is imported on you eclipse workspace.
Resolving Error
When we use maven-eclipse-plugin result some error may occur since m2e doesn't compatible with maven-eclipse-plugin.- "Unsupported IClasspathEntry" error. The detail error can be founded here. Solution: either you have to reimport the project using m2e importing wizard or just delete the .classpath file in the project folder then run m2e "update project ..." wizard in the context menu.