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

targetIncludes 2 types of transitives #147

Open
delanym opened this issue Mar 30, 2022 · 1 comment
Open

targetIncludes 2 types of transitives #147

delanym opened this issue Mar 30, 2022 · 1 comment

Comments

@delanym
Copy link

delanym commented Mar 30, 2022

I can use -DtargetIncludes=:jackson-dataformat-yaml to show all uses of this dependency in my project.

I don't want to see the entire hierarchy of modules (all the modules that depend on the module that depends on :jackson-dataformat-yaml), so I add -DtransitiveExcludes=*

But now the problem is I only see direct dependencies on :jackson-dataformat-yaml
If a module depends on a third-party dependency, and that dependency depends on :jackson-dataformat-yaml, it doesn't show.

How can I show all AND only the direct dependents of an artefact?

@ferstl
Copy link
Owner

ferstl commented Mar 30, 2022

This is not possible to achieve with the current filtering options. This would require some kind of option to "cut off" the transitive dependencies of a certain artifact, i.e. something like ˋtransitiveExcludesˋ but with keeping the matching artifacts in the graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants