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

        

Reply via email to