The error is as follows:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (execution: default-testCompile, phase: test-compile)
Solution: wrap another layer of <pluginManagement></pluginManagement> outside the plugin that reported the error in pom.xml
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
.... </plugins>
</pluginManagement>
</build>