我刚刚升级到 Maven 3.9.2,在构建结束时我收到警告:
Plugin validation issues were detected in 4 plugin(s)
* org.apache.maven.plugins:maven-dependency-plugin:3.5.0
* org.apache.maven.plugins:maven-compiler-plugin:3.10.1
* org.apache.maven.plugins:maven-pmd-plugin:3.20.0
* org.apache.maven.plugins:maven-resources-plugin:3.3.0
For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
Run Code Online (Sandbox Code Playgroud)
但是,它没有告诉我应该在哪里设置该属性!
我在我的 pom.xml 文件本身中尝试过:
<properties>
<maven.plugin.validation>verbose</maven.plugin.validation>
</properties>
Run Code Online (Sandbox Code Playgroud)
……但这似乎没有什么区别。事实上,它似乎完全被忽略,因为将其设置为无效值不会被注意到(根据maven自己的代码,它应该发出警告)。
我显然错过了一些东西,但已经不知道如何搜索才能找到它!感谢您的任何帮助。
maven ×1