Maven编译(Maven 版本3.9.2)报如下WARN
[WARNING] Plugin validation issues were detected in 2 plugin(s)
[WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.10.1
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
把Maven 版本降至3.6.3,重新编译便不再报WARN
Maven 版本与插件版本不兼容
参考官方链接:https://maven.apache.org/plugins/maven-compiler-plugin/plugin-info.html
根据官网版本升级或降级,Maven版本或插件版本即可。