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

Ignore dependency updates for those that are not in the dependency graph #437

Closed
ngmip opened this issue Oct 15, 2020 · 1 comment
Closed
Labels

Comments

@ngmip
Copy link

ngmip commented Oct 15, 2020

Hello,

TL;DR : versions:dependency-updates-report reports available updates on libraries that are not in the project's dependency graph.

It seems that the display-dependency-update and the dependency-update-report are taking all possible dependency managed by the projet or it's parent, even if that dependency is not actually part of the project's dependency graph.

This is a tpyical spring-boot situation where the spring-boot-parent pom manages hundreds of dependencies but only a few are ever added to the projet.
Yet the analyze picks up all these declared dependencies and checks if a new one exists

Any settings/trick to ignore the dependencies that are not part of the dependency graph ?

@Mattheo1985
Copy link

The experimental parameter <processDependencyManagementTransitive> might help. Unfortunately it's not available in versions:display-dependency-updates (#267 #291).

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

No branches or pull requests

2 participants