Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Ldap-style filters provide a query syntax that would solve for supporting complex include and exclude scenarios in a concise way.
ref: RFC 2254
Example - Include all matching a groupId=com.company
<includes> <include filter="(groupId=com.company)"/> </include>
Example – Exclude all except one with artfactId=foo-bar
<excludes> <exclude filter="(&(groupId=com.company)(!(artifactId=foo-bar)))"/> </excludes>
Example – Exclude all except a few with various matches
<excludes> <exclude filter="(&(groupId=com.company)(|(!(artifactId=foo-bar))(!(type=zip))(!(classifier=default))))"/> </excludes>