Konrad Windszus opened MNG-5909 and commented
Currently each type of activation (os, jdk, file, property) can only be used once for activating a single profile.
Therefore it is not possible to activate a profile in case two different files are existing, although since Maven 3.2.2 (MNG-4565) it is possible to combine multiple activations of different types.
Multiple file or property should therefore be supported to allow to express something like:
Enable profileA in case both fileA and fileB do exists
For jdk and os this is less relevant because all conditions are combined with AND.
Affects: 3.3.3
Issue Links:
-
MNG-4565 Requiring multiple profile activation conditions to be true does not work
-
MNG-7577 Ability to activate profile based on multiple property values
-
MNG-8286 Add a condition profile based on a simple expressions
Remote Links:
4 votes, 10 watchers
Konrad Windszus opened MNG-5909 and commented
Currently each type of activation (os, jdk, file, property) can only be used once for activating a single profile.
Therefore it is not possible to activate a profile in case two different files are existing, although since Maven 3.2.2 (MNG-4565) it is possible to combine multiple activations of different types.
Multiple
fileorpropertyshould therefore be supported to allow to express something like:Enable
profileAin case bothfileAandfileBdo existsFor
jdkandosthis is less relevant because all conditions are combined with AND.Affects: 3.3.3
Issue Links:
MNG-4565 Requiring multiple profile activation conditions to be true does not work
MNG-7577 Ability to activate profile based on multiple property values
MNG-8286 Add a condition profile based on a simple expressions
Remote Links:
4 votes, 10 watchers