Require property rule evaluates empty property to "true" --------------------------------------------------------
Key: MENFORCER-115 URL: http://jira.codehaus.org/browse/MENFORCER-115 Project: Maven 2.x Enforcer Plugin Issue Type: Bug Components: Standard Rules Affects Versions: 1.0 Reporter: Michael Osipov I want to enforce a property to be set to any value. -Dprop=value => correct -Dprop= => fails as expected -Dprop => not correct This is incorrect behavior. The EnforceRuleHelper evaluates the property to "true". This means that "true" has to be explicitly excluded in the regex. This is ugly. There must be an option to enforce an non-empty property. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira