在多模块化中,对单个 module install 的时候,需要依赖的 jar 提前 install 好才行(只能手动);而如果对最外层 pom 管理 module 可以自动 install 成功是因为 Maven 按照依赖顺序智能执行 install。