[
http://jira.codehaus.org/browse/MENFORCER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187572#action_187572
]
Eric Lewis commented on MENFORCER-83:
-------------------------------------
Sorry, I wasn't aware of the syntax in JIRA.
The last sentence should read
To be compatible, the wildcard * would be treated as regular expression .*
> Banned dependencies should support regular expressions
> ------------------------------------------------------
>
> Key: MENFORCER-83
> URL: http://jira.codehaus.org/browse/MENFORCER-83
> Project: Maven 2.x Enforcer Plugin
> Issue Type: Improvement
> Components: Standard Rules
> Affects Versions: 1.0-beta-1
> Reporter: Eric Lewis
>
> The includes and excludes of the bannedDependencies rule support wildcards,
> but only for an entire section.
> They should be enhanced to support regular expressions.
> For instance instead of having
> <includes>
> <include>my.company:abc-api</include>
> <include>my.company:def-api</include>
> <include>my.company:ghi-api</include>
> <include>my.company:jkl-api</include>
> </includes>
> one would specify
> <includes>
> <include>my.company:.*\-api</include>
> </includes>
> To be compatible, the wildcard '*' would be treated as regular expression '.*'
--
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