报错信息:
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cm-common ---
[WARNING] Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin
java.lang.TypeNotPresentException: Type org.apache.maven.plugin.surefire.SurefirePlugin not present
1. 起因
运维更改测试maven版本 下载的maven-surefire-plugin依赖包pom文件中没有内容
2. 解决方案
1) 手动指定可用maven-surefire-plugin版本
`<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
</plugin>
`
2) Maven版本回退 保障统一