Maven: adding a reference to a parent pom project

前端 未结 3 1051
梦如初夏
梦如初夏 2020-12-15 22:01

I\'m not sure if I\'m understanding how to use a parent pom project correctly. I have the following parent pom defined:

4.0.0         


        
3条回答
  •  心在旅途
    2020-12-15 23:01

    As @khmarbaise pointed out, the parent of a multi-module build is not usually used as a dependency elsewhere.

    You should be able to add each of your child modules as dependencies and achieve what you wanted to do by adding the parent pom.

提交回复
热议问题