Skip to content

DependencyCollectionChecker: new session member - #1899

Merged
cstamas merged 4 commits into
apache:masterfrom
cstamas:collection-checker
Jun 6, 2026
Merged

DependencyCollectionChecker: new session member#1899
cstamas merged 4 commits into
apache:masterfrom
cstamas:collection-checker

Conversation

@cstamas

@cstamas cstamas commented Jun 4, 2026

Copy link
Copy Markdown
Member

Introduce DependencyCollectionChecker, that is able to augment and re-collect the graph. By default, there is only NOOP implementation and this PR causes no change in Resolver behaviour, but this leaves ability to Resolver integrator to use this feature.

Also, prepare OptionDependencySelector to be parameterized (by default is not) to be able to ignore or collect optional/excluded artifacts.

Note: DependencyCollectorDelegate may be best seen without whitespace, change is only about putting existing logic into loop w/ some cleanup.

Introduce DependencyCollectionChecker, that is able to augment and re-collect
the graph. By default, there is only NOOP implementation and this PR causes
no change in Resolver behaviour, but this leaves ability to Resolver integrator
to use this feature.

Also, prepare OptionDependencySelector to be parameterized (by default is not)
to be able to ignore or collect optional/excluded artifacts.
@cstamas cstamas added this to the 2.0.19 milestone Jun 4, 2026
@cstamas cstamas self-assigned this Jun 4, 2026
@cstamas cstamas added the enhancement New feature or request label Jun 4, 2026
cstamas added 3 commits June 4, 2026 13:46
And it is resolver itself enforcing it, as a problematic
checker may cause endless loops, so prevent it, but let
escape hatch to set the maxRuns as config.
To be aligned with all other "optional" session stuff,
once we will make the Optional<>.
@cstamas
cstamas marked this pull request as ready for review June 5, 2026 13:59
@cstamas
cstamas merged commit 0447a67 into apache:master Jun 6, 2026
14 checks passed
@cstamas
cstamas deleted the collection-checker branch June 6, 2026 16:30
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.

1 participant