Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Won't Fix
-
3.2.2
-
None
-
None
Description
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:
<activation> <file> <exists>${env.JBOSS_HOME}/server/development</exists> </file> <property> <name>assembly</name> </property> </activation>
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
Attachments
Issue Links
- relates to
-
MNG-4565 Requiring multiple profile activation conditions to be true does not work
- Closed