GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DependencyCollectionChecker: new session member by cstamas · Pull Request #1899 · apache/maven-resolver

Conversation

@cstamas

@cstamas cstamas commented Jun 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
DependencyCollectionChecker: new session member
9f92650
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 requested review from gnodet and slawekjaranowski June 4, 2026 11:44
@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
@cstamas
Make it Collection as we do not care
c5415bd
@cstamas
Add limit of re-collection attempts
7b58067
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.
@cstamas
Make it nullable
0699b88
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

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas deleted the collection-checker branch June 6, 2026 16:30
@gnodet gnodet mentioned this pull request Jun 14, 2026
Fix ApacheTransport auth cache CCEx #1923
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gnodet gnodet Awaiting requested review from gnodet
@slawekjaranowski slawekjaranowski Awaiting requested review from slawekjaranowski

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

enhancement New feature or request

Projects

None yet

Milestone

2.0.19

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@cstamas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.