What is Maven?
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 .
Why should I use it?
- Maven is a (automated) build tools. Maven can downloads and installs required jar/library for your project that declared on pom.xml. No need to add library one by one.
How Maven Works?
Based on my comprehension, here is how Maven works.
- Developers declare required jar/library (for example: Spring, Servlet, Hibernate, etc.) on pom.xml.
- Developers using some libraries on their source codes.
- The source codes go to compiling and building phase.
- At the compiling and building phase, the IDE will call the Maven to build the Java project.
- Maven reads required library on pom.xml.
- Maven downloads required library from offline repository, or …
- Maven downloads required library from online repository.
And then Maven will ‘install’ the library into targeted Java project.
- Compiling and building process will produce a Java apps (either .jar or .war).
How can I use add Maven into my project?
On Eclipse based IDE, simply choose new Maven project template to start.
If you are working with Spring MVC in Spring Tool Suite (STS), the project is automatically an Maven project.
Are there any other options?
Yes, definitely. You can choose Ant Builder  or Gradle  in favor of Maven. Both of them are also build tools.