Why Maven is used

Maven increases the reusability and handle most of build related tasks. It handles compilation, distribution, documentation, project collaboration as well as manage the jar files in repositories.