Maven is a build system tool allowing developers and teams to build their projects in a uniform way. It is based on a common Project Object Model standardizing the structure of Java projects. Build settings, plugins, and library dependencies, all stored in a single
pom.xml configuration file—the core of the Maven build system.
The mechanism of the Maven build system follows the notion of goals. For example, if you want to compile a project, you run Maven's
mvn command with the compile goal as a parameter. Similarly, the
mvn test command will compile and execute the project's unit tests, while
mvn package builds go through the whole process from compiling and executing unit tests to packaging your final application. ...