When a profile has more than 1 activation, according to the documentation 1 match is enough to activate a profile:
Activation occurs when one or more of the specified criteria have been met. When the first positive result is encountered, processing stops and the profile is marked as active.
Since Maven 3.2.2 this does not work. For instance with the following activation code:
The profile only gets activated if both the directory is present and the propery is specified. If we remove the property from the configuration, the profile is activated based on the directory