You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthew McCullough (JIRA)" <ji...@codehaus.org> on 2009/06/15 01:30:42 UTC
[jira] Created: (MENFORCER-76) Documentation for regex on
requireProperty incorrectly includes quotes around regex
Documentation for regex on requireProperty incorrectly includes quotes around regex
-----------------------------------------------------------------------------------
Key: MENFORCER-76
URL: http://jira.codehaus.org/browse/MENFORCER-76
Project: Maven 2.x Enforcer Plugin
Issue Type: Bug
Components: Standard Rules
Affects Versions: 1.0-beta-1
Environment: Documentation issue. Env. not pertinent.
Reporter: Matthew McCullough
Priority: Minor
Attachments: regexdocumentationfix.diff
The documentation page enforcer-rules/src/site/apt/requireProperty.apt (or http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html) shows a demonstration of a regex for the requireProperty rule. It incorrectly includes quotes around the regex when none are required (in fact, causes the regex match to fail).
I am including a patch that removes the incorrect quotes around the regex and also provides a second example with a more complex regex.
--
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
[jira] Closed: (MENFORCER-76) Documentation for regex on
requireProperty incorrectly includes quotes around regex
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MENFORCER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed MENFORCER-76.
------------------------------
Resolution: Fixed
Fix Version/s: 1.0-beta-2
> Documentation for regex on requireProperty incorrectly includes quotes around regex
> -----------------------------------------------------------------------------------
>
> Key: MENFORCER-76
> URL: http://jira.codehaus.org/browse/MENFORCER-76
> Project: Maven 2.x Enforcer Plugin
> Issue Type: Bug
> Components: Standard Rules
> Affects Versions: 1.0-beta-1
> Environment: Documentation issue. Env. not pertinent.
> Reporter: Matthew McCullough
> Priority: Minor
> Fix For: 1.0-beta-2
>
> Attachments: regexdocumentationfix.diff
>
>
> The documentation page enforcer-rules/src/site/apt/requireProperty.apt (or http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html) shows a demonstration of a regex for the requireProperty rule. It incorrectly includes quotes around the regex when none are required (in fact, causes the regex match to fail).
> I am including a patch that removes the incorrect quotes around the regex and also provides a second example with a more complex regex.
--
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