Inheriting Maven profiles

前端 未结 4 1670
无人及你
无人及你 2020-12-14 06:47

Is it possible for a child POM to inherit profiles defined in the parent POM? If so, how?

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 06:54

    It's not just possible, it's mandatory. If you declare a parent POM, you get all its profiles.

提交回复
热议问题