1.创建一个maven项目
选择pom
完成
2.创建模块
项目右键选择module,创建模块、创建子模块
其余的打包时都为jar
地址:https://github.com/LeviFromCN/maven-demo