0

是否有non-pom.xmlMaven 执行器插件的配置?

我正在尝试编译一个现有项目,但它失败了:

[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 中。

4

1 回答 1

0

谢谢 A. Di Matteo

显示有效的 pom (with mvn help:effective-pom) 让我看到执行器配置确实来自父 pom。

于 2016-01-27T19:43:24.273 回答