Installing/configuring Maven
Maven is a tool which can be used for building and managing Java-based projects. The following are some of the key benefits of using Maven as a build tool:
- It provides a simple project setup that follows best practices--it gets a new project or module started in seconds.
- It allows a project to build using its Project Object Model (POM) and a set of plugins that are shared by all projects, providing a uniform build system. POM is defined in an XML file, namely,
pom.xml
, which defines the project configuration and dependencies along with their versions. One can manage the dependencies version frompom.xml
. - Based on the project templates (also called archtype), Maven supports scaffolding, based on which the standard folder structure is created along with the base controller files, unit tests, and so on.
- It allows usage of the large and growing repository of libraries and metadata to use out of the box. The project dependencies are installed in the local repository...