maven项目可以创建多个module,在IDEA中具体操作 1、在已经建好的maven项目上右键 2、新建: 效果如下: 这时在子pom.xml中 parent artifactIdspring-shell/artifactId groupIdcn.jiashubing/groupId version1.0-SN
maven项目可以创建多个module,在IDEA中具体操作
1、在已经建好的maven项目上右键
2、新建:
效果如下:
这时在子pom.xml中
<parent> <artifactId>spring-shell</artifactId> <groupId>cn.jiashubing</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>cli</artifactId>
父 pom.xml中
<modules> <module>cli</module> </modules>
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持易盾网络。