Maven works in three steps:
- Reading the pom.xml file is the first step.
- The dependencies mentioned in pom.xml are then downloaded from the central repository into the local repository.
- Finally, it builds and generates a report based on the requirements, as well as handles life cycles, phases, goals, plugins, and other tasks