-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
enhancementNew feature or requestNew feature or request
Description
New feature, improvement proposal
I would like to request a new enforcer rule (or enhancement to existing rules) that can ban dependencies based on version qualifiers/suffixes, independent of the specific version number.
Current Limitation:
The BannedDependencies rule currently cannot match version qualifiers flexibly. I attempted the following configuration:
<bannedDependencies>
<excludes>
<exclude>a.b.c*:*:*-a*</exclude>
<exclude>a.b.c*:*:*-m*</exclude>
<exclude>a.b.c*:*:*-rc*</exclude>
</excludes>
</bannedDependencies>
However, based on the ArtifactMatcher implementation, the version field does not support wildcard matching for qualifiers in this way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request