maven 编译器插件如何进入有效的 POM,即使它不存在于 Super POM 中

How the maven compiler plugin come into effective POM even if it is not there in Super POM

最近几天我在处理 maven 主题。我意识到所有默认插件都来自 super pom 按照这个 . I executed the command mvn dependency:resolve-plugins after removing the compiler plugin i could see all the plugins there. My question is if i am not mentioning in my pom those compiler plugin then from where those plugin coming to my effective pom. I could not see compiler plugin the Super pom.

您的意见很有价值。

默认插件绑定不是来自超级 POM,而是来自默认生命周期:

https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#built-in-lifecycle-bindings