pom文件中报错提示:
Plugin execution not covered by lifecycle configuration: net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress (execution: default, phase: process-
resources)
上网一搜,很多人说在<plugins>标签外面加<pluginManagement>标签就可以了,加了pluginManagement标签之后果真没报错了,本地也可以打包成功。但是随后在jenkins上自动构建时失败,无法打包。去掉<pluginManagement>标签之后又可以了。不知为何,后续跟进。。。
时间: 2024-10-07 18:35:35