eclipse导入项目时,出错(No marketplace entries found to handle maven-compiler-plugin)的解决

eclipse导入项目时,报错(No marketplace entries found to handle maven-compiler-plugin)的解决
问题描述:
eclipse导入项目时,报错( No marketplace entries found to handle maven-compiler-plugin)的解决办法
1. No marketplace entries found to handle maven-compiler-plugin:2.3.1:compile in Eclipse. Please see Help for more information.

2. No marketplace entries found to handle maven-compiler-plugin:2.3.1:testCompile in Eclipse. Please see Help for more information.

问题原因:
C:\Users\User\.m2文件夹中的repository中没有maven-compiler-plugin:2.3.1,不知道为什么没有更新。

解决办法:
删除repository,从另一台电脑copy含有maven-compiler-plugin:2.3.1的repository文件夹至当前电脑。

参考:http://*.com/questions/8834806/m2eclipse-error