解决Maven出现Plugin execution not covered by lifecycle configuration 错误
2018-04-11 00:00
651 查看
报错如下:
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>
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>
相关文章推荐
- 解决Maven出现Plugin execution not covered by lifecycle configuration 错误
- 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”
- maven 报类似 “Plugin execution not covered by lifecycle configuration: org.antlr:antlr3-maven-plugin:3.4:antlr (execution: default, phase: generate-sources)” 错误 的解决方案
- 备忘:maven 错误信息: Plugin execution not covered by lifecycle configuration
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案
- eclipse使用maven在pom配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- maven的Plugin execution not covered by lifecycle configuration解决办法
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Plugin execution not covered by lifecycle configuration: 错误解决方法(亲试在多台电脑上可用)
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Maven经典错误之二- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-mave
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案