Roles and descriptions of Maven
Roles and descriptions of Maven
I. Role of maven
Project A depends on Project B, Project B depends on Project C, and project D. Such a dependency chain may be long.
However, we need to import all the jar packages of no project. We need to do Project A and the jar packages required by Project A are clear, however, we may not be clear about the CD project.
In this case, we will spend a lot of energy looking for the jar package on which the CD project depends.
Maven is doing this,We only need to configure the dependency in the configuration environment, and the Maven project will automatically import directly or indirectly dependent jar packages to us., Very convenient.
Maven ProjectAll operations are implemented through a configuration XML..
II. Introduction to maven
POM provides functions through configuration, such as dependency management.