-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Allow exclusions in Maven plugin to take wild cards #22030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Since I am currently also fighting with the issue of having But to the topic at hand. The issues that have requested a change like this usually stem from people using scope
What are upsides of this approach when compared to allowing the enabling of Mavens default mechanisms for solving the same problem, as was requested here #13289? I completely agree that this should not be the default behaviour (as is being suggested in #25403), see comment linked above, but I feel that using wildcards or patterns is a work-a-round for a problem that already has a solution built into Maven. |
We discussed this again on our call and we're going to re-open #13289. |
The Spring Boot Maven plugin allows defining exclusions that will not make it into the final JAR. If quite a few similarly named artifacts are to be listed, that list gets rather long. It would be cool if wildcards were allowed in group and artifact ids. E.g. all Spring Boot starter JAR (that do not contribute code or resource to the runtime behaviour) could be excluded by:
The text was updated successfully, but these errors were encountered: