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

#291 display-dependency-updates: introduce switch processDependencyManagementTransitive #588

Merged
merged 3 commits into from
May 5, 2022

Conversation

stefanseifert
Copy link
Contributor

@stefanseifert stefanseifert commented Apr 28, 2022

adding a new switch processDependencyManagementTransitive to display-dependency-updates goal, with same semantics as it was added with #129 to dependency-update-report

the default value is true which reflects the current behavior (backward compatibility).

if set to false, the dependency check is done using the "original model", meaning dependencies with "import" scope (often called "BOM") are not interpolated and checked itself, instead of the transitive dependencies they import (over which the user has no direct control).

please note: this works as described if the BOM import dependency is declared in the current POM. if such a dependency is declared in the parent POM, it works a bit different: if the current POM references dependencies declared in the POM references in the parent POM, the versions updates of those dependencies are reported, not of the BOM itself. still, with this new feature working with huge lists of transitive dependencies from BOMs gets much easier.

Fixes #291

@stefanseifert stefanseifert marked this pull request as ready for review April 28, 2022 15:18
@stefanseifert stefanseifert merged commit 257d33c into master May 5, 2022
@stefanseifert stefanseifert deleted the issue/291-dependency-updates-non-transitive branch May 5, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce processDependencyManagementTransitive to display-dependency-updates
1 participant