[ https://jira.codehaus.org/browse/MENFORCER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MENFORCER-83. ----------------------------------- Resolution: Fixed Fix Version/s: 1.3 Assignee: Robert Scholte Fixed in [r1489638|http://svn.apache.org/r1489638] > Banned dependencies should support regular expressions > ------------------------------------------------------ > > Key: MENFORCER-83 > URL: https://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 > Assignee: Robert Scholte > Fix For: 1.3 > > > 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 > {code:xml} > <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> > {code} > one would specify > {code} > <includes> > <include>my.company:.*-api</include> > </includes> > {code} > 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, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira