Skip to content

[tycho-4.0.x] Use the new MavenDependencyCollector shared with m2e#4749

Merged
eclipse-tycho-bot merged 1 commit intotycho-4.0.xfrom
backport/tycho-4.0.x/pr-4742
Feb 24, 2025
Merged

[tycho-4.0.x] Use the new MavenDependencyCollector shared with m2e#4749
eclipse-tycho-bot merged 1 commit intotycho-4.0.xfrom
backport/tycho-4.0.x/pr-4742

Conversation

@eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

Currently Tycho uses the usual maven resolver to find transitive
dependencies but this works differently than what we want here. Instead
we want all dependencies and their dependencies and then filter for the
given scopes provided if any match.As this is a non trivial operation,
it seems useful to make the code also sharable with Tycho so we ensure
there is always the same result in Tycho as in m2e.

This now uses the new MavenDependencyCollector that is shared with Tm2e
that traverses the dependency tree in a way we need here and collects
everything along the way. This also has the advantage, that if we choose
to only collect direct dependencies, not the whole tree has to be
traversed as before.

(cherry picked from commit 0e2d268)
@github-actions
Copy link

Test Results

  606 files    606 suites   4h 8m 50s ⏱️
  424 tests   418 ✅  6 💤 0 ❌
1 272 runs  1 253 ✅ 19 💤 0 ❌

Results for commit e37c2d8.

@eclipse-tycho-bot eclipse-tycho-bot merged commit 6ad6eb3 into tycho-4.0.x Feb 24, 2025
15 checks passed
@akurtakov akurtakov deleted the backport/tycho-4.0.x/pr-4742 branch February 24, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants