The following figure shows the common build architecture for Maven projects. Essentially, every Maven project contains a POM file that defines every aspect of the project essentials. Maven uses the POM details to decide upon different actions and artifact generation. The dependencies specified are first searched for in the local repository and then in the central repository. There is also a notion that the remote repository is searched if it is specified in the POM. We will talk about repositories in the next section. In addition, POM defines details to be included during site generation.
Have a look at the following diagram: