Skip to content

[2.x] fix: Handle relocated dependencies in dependencyTree (#8400)#8489

Merged
eed3si9n merged 1 commit intosbt:developfrom
calm329:fix/8400-dependency-tree-relocated
Jan 12, 2026
Merged

[2.x] fix: Handle relocated dependencies in dependencyTree (#8400)#8489
eed3si9n merged 1 commit intosbt:developfrom
calm329:fix/8400-dependency-tree-relocated

Conversation

@calm329
Copy link
Copy Markdown
Contributor

@calm329 calm329 commented Jan 12, 2026

Summary

  • Fix dependencyTree losing track of dependencies with <relocated> tag in POM
  • When org.lz4:lz4-java relocates to at.yawk.lz4:lz4-java, the tree now correctly shows the relocated artifact

Test plan

  • Unit tests in SbtUpdateReportTest for relocated direct/transitive dependencies
  • Scripted test dependency-graph/relocated-dependency with actual lz4-java dependency
  • Existing dependency-graph/output test passes (no regression)

Fixes #8400


Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=148254234

@calm329 calm329 force-pushed the fix/8400-dependency-tree-relocated branch from b89c10b to a052c85 Compare January 12, 2026 01:49
@eed3si9n eed3si9n changed the title fix: Handle relocated dependencies in dependencyTree (#8400) [2.x] fix: Handle relocated dependencies in dependencyTree (#8400) Jan 12, 2026
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit e732317 into sbt:develop Jan 12, 2026
14 checks passed
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.

dependencyTree loses track of dependency if it has <relocated> tag in POM

2 participants