Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
1.0
-
None
-
None
Description
The main benefit of profile activation is that a profile is activated by a property set outside of maven. It does not make any sense to active by a property if it is defined in the POM.
If I set the following in my properties section:
<properties> <myProp /> </properties>
This would evaluate the property to "true" and pass the enforcer rule. It makes absolutely no sense. Properties should be evaluated the same way as in the profile activation. POM properties are always present, thus making the hole enforcer thing obsolete.
This issue is related to MENFORCER-115.