当前位置:主页 > >

基于IDEA建立module操作步骤解析

时间:2020-09-19 19:00:22 | 栏目: | 点击:

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>

您可能感兴趣的文章:

相关文章