两个项目之间使用依赖超级pom的区别

Difference between using super pom of dependency between two project

我有三个项目

A B

C

我想创建一个超级项目包含三个项目的共同技术特性...所以我想知道是否必须使用超级项目作为依赖或创建三个项目继承的super pom,link将A、B、C项目的技术基础

<parent>    
        <groupId>C</groupId>    
         .    
         .     
</parent>    

并在每个项目 pom 文件中添加超级项目作为依赖项

谢谢。

如果您所说的技术特性是指某些项目配置,例如 <pluginManagement><issueManagement>,请使用父 pom,您的配置将被继承。
如果您谈论一些与您的代码相关的库,请使用依赖关系。项目配置不会 "inherited" 通过 dependecies.