maven——multi-module
Posted dengrong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven——multi-module相关的知识,希望对你有一定的参考价值。
1. is defined by a parent POM referencing one or more submodules
2. The appropriate packaging for a project likesimple-parent
that simply provides a Project Object Model is pom
.
3. Maven knows to look in these directories for pom.xml
files,maven知道如何去找子模块的pom.xml
4. Using POM inheritance allows you to add common dependencies for universal dependencies
那为什么要多模块呢? 要明白多个模块仍然在一个项目中,启动这个项目后,多个模块之间就可以相互调用。多个模块方面分工开发和功能聚合。
以上是关于maven——multi-module的主要内容,如果未能解决你的问题,请参考以下文章
SpringBoot多模块项目(Multi-Modules)