Maven profile activation with multiple conditions
Maven <activation> block is a list of OR — the profile will be activated as soon as the first criteria is met. So, it is less likely that your problem has a solution at least until this bug-report gets fixed https://issues.apache.org/jira/browse/MNG-4565 Update: it’s fixed in 3.2.2 now – sfussenegger (via comment)