pom.xml

使用intelJ idea 导入maven包管理文件是,使用Import的方式导入,会自动导入pom.xml来导入包。

pom.xml会指定父子关系。

例如,总模块的pom.xml中有一下内容:

<modules>
        <module>xxx-client</module>
        <module>xxx-web</module>
        <module>xxx-biz</module>
        <module>xxx-test</module>
    </modules>

则在xxx-client目录下面的pom.xml中会指定parent

<parent>
        <artifactId>xxx</artifactId>
        <groupId>xxxxxxdfsfdsf</groupId>
        <version>1.0.0-SNAPSHOT</version>
    </parent>
原文地址:https://www.cnblogs.com/diegodu/p/5917294.html