How to activate a certain profile in a dependency?

94 Views Asked by At

Suppose we have 3 projects, A,B,C

A,B are dependent on C. C has 2 profiles defined in its POM, say profile1, profile2.

How do I make sure, when A is using C, profile1 is activated and when B is using C, profile2 is activated.

0

There are 0 best solutions below