POM下plugin报红色,展示错误如:Plugin execution not covered by lifecycle configuration: org

Q:Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (execution: default-testCompile, phase: test-compile)

 

A: <plugins> 标签外再套一个 <pluginManagement> 标签 ;

 

猜你喜欢

转载自bugyun.iteye.com/blog/2311853