1. 依赖管理
2. 定义parent module
In most of the multi-module Maven projects, there are many things that are shared across multiple modules. Dependency versions, plugin versions, properties, and repositories are only some of them
一般,除了有个parent POM file工程defines the shared resources across
different Maven modules in the project ,我们还会在整个工程的root上定义一个 POM file,它给出了所有那些需要参与构建的模块。