Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-1
-
None
Description
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 '.*'
Attachments
Issue Links
- is related to
-
MENFORCER-167 Documented '*' feature of banned dependencies doesn't work
- Closed