Question: what are goals in pom.xml?
Answer: Maven Build Goals Maven goals represent a specific task that contributes to the building and managing of a project. Sometimes, a maven goal is not bound to a build phase. We can execute these goals through the command line.