是否有maven enforcer插件的non-pom.xml
配置?
我正在尝试编译现有项目,但它失败了:
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-versions) @ root-pom ---
[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 3.3.9 is not in the allowed range [3.2.3,3.3).
我无法在任何 pom.xml
文件中找到强制执行程序配置。
Apache文档只是声明配置在pom.xml中。
答案 0 :(得分:0)
感谢A. Di Matteo
显示有效的pom(mvn help:effective-pom
)让我看到执行器配置确实来自父pom。