I'm just learning Maven, and so this might be obvious, but I can't find an easy way to list the goals associated for each maven lifecycle phase for a given project.
I saw that the Maven default life cycle phases and corresponding default goals are documented here. My understanding so far is that each pom.xml can bind additional goals to each lifecycle phase.
那么,是否有一个mvn命令来确定给定项目的每个生命周期阶段将运行的目标?如果没有,我想我只需要查看每个新Maven项目的POM.XML就可以解决这个问题。