Question: what are goals and phases in maven?
Answer: Maven Lifecycle, Phases and Goals. ... Phase is a group of ordered goals or in other words: zero or more plugin goals are bound to a phase (either by default or by user). For example the compile phase (runs as "mvn compile" ) consists only compiler:compile goal (plugin).