maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MENFORCER-76) Documentation for regex on requireProperty incorrectly includes quotes around regex
Date Sat, 28 Nov 2009 18:56:55 GMT

     [ 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

        

Mime
View raw message