Skip to content

[MDEP-196] Add tree's includes and excludes patterns to dependency:list - #1791

Draft
slachiewicz wants to merge 2 commits into
apache:masterfrom
slachiewicz:agent/mdep-196-list-includes
Draft

slachiewicz wants to merge 2 commits into
apache:masterfrom
slachiewicz:agent/mdep-196-list-includes

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

dependency:list, resolve, collect and resolve-sources accept the includes and excludes patterns of dependency:tree, so -Dincludes=org.springframework or -Dincludes=:::*-SNAPSHOT work the same on both. The list stays flat: excluding an artifact does not drop its dependencies, unlike the tree.

Fixes #1101


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

@slachiewicz slachiewicz added the enhancement New feature or request label Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MDEP-196] Coherence between dependency:tree and dependency:list include/exclude options

1 participant