找到Maven插件绑定的默认阶段

rya*_*ogo 5 java maven-plugin maven

给定a中的<plugin>元素pom.xml,如何找到它绑定的默认阶段?

例如,我想知道Maven生命周期的哪个阶段maven-war-plugin会被执行.

Rya*_*art 7

了解项目中实际发生的事情的最佳方法是mvn help:effective-pom.它不仅显示默认值; 它显示了根据您当前的pom实际上是什么.