Apache Maven is a software project management and comprehension tool.
Based on the concept of a project object model (POM),
Maven can manage a project’s build,reporting and documentation from a central piece of information.
Advantage of Maven
1.Maven lets you get your package dependencies easily
2.Maven forces you to have a standard directory structure
Figuring out dependencies for small projects is not hard.
But once you start dealing with a dependency tree with hundreds of dependencies, things can easily get out of hand.
Maven helps to manage
maven repository is a directory of packaged JAR file with pom.xml file.
Maven searches for dependencies in the repositories.