[
https://jira.codehaus.org/browse/MENFORCER-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise closed MENFORCER-116.
-----------------------------------------
Resolution: Not A Bug
Is this the case with 1.3.1? Or can we leave this closed? If not please reopen
the issue.
> Require property rule interpolation does not work like profile activation
> -------------------------------------------------------------------------
>
> Key: MENFORCER-116
> URL: https://jira.codehaus.org/browse/MENFORCER-116
> Project: Maven Enforcer Plugin
> Issue Type: Bug
> Components: Standard Rules
> Affects Versions: 1.0
> Reporter: Michael Osipov
> Priority: Critical
>
> 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:
> {noformat}
> <properties>
> <myProp />
> </properties>
> {noformat}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira