Can maven projects have multiple parents?

后端 未结 6 730
我在风中等你
我在风中等你 2020-12-01 04:06

We have Java and Flex projects. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: Flex projects inherit c

6条回答
  •  渐次进展
    2020-12-01 04:54

    You can achieve multiple inheritance with profiles:

    You create (multiple) profiles in the root pom, and auto activate any variation of these profiles achieves multiple inheritance of maven configuration.

提交回复
热议问题