Skip to content
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

Allow exclusions to be ignored either on a included dependency level or at a global level where ignored exclusions can be defined #23

Closed
jamezp opened this issue Dec 21, 2023 · 0 comments · Fixed by #24 or #25
Assignees

Comments

@jamezp
Copy link
Member

jamezp commented Dec 21, 2023

Currently the InheritExclusions setting is configured globally. There are cases where an individual included dependency may want to override this value. For example if the global setting is UNMANAGED , however a dependency needs to exclude NONE of it's dependencies, this should be possible.

Another way to handle this might be to have a list of dependencies which would not be excluded. In other words, for the use-case in mind you'd add something like:

<ignoredExclusions>
    <ignoredExclusion>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
    </ignoredExclusion>
</ignoredExclusions>
@jamezp jamezp self-assigned this Dec 21, 2023
@jamezp jamezp changed the title Allow included dependencies to override the InheritExclusions setting Allow exclusions to be ignored either on a included dependency level or at a global level where ignored exclusions can be defined Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment