报错如下:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (execution: default-testCompile, phase: test-compile)
解决办法:在pom.xml中在报错的plugin的外面再包上一层<pluginManagement></pluginManagement>
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
.... </plugins>
</pluginManagement>
</build>