Skip to content

Conversation

@vrozov
Copy link
Member

@vrozov vrozov commented Oct 24, 2025

What changes were proposed in this pull request?

Add sbt-dependency-tree to SBT plugins

Why are the changes needed?

The plugin provides several options on top of plain ASCII dependencyTree SBT command:

  • dependencyBrowseGraph
  • dependencyBrowseTree
  • dependencyGraphML
  • dependencyLicenseInfo

Does this PR introduce any user-facing change?

No

How was this patch tested?

Invoked dependencyBrowseTree

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the BUILD label Oct 24, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

I tried this PR but I'm not sure this is useful. Could you elaborate how you did use this and what kind of real benefits you found in your cases?

@vrozov
Copy link
Member Author

vrozov commented Oct 27, 2025

@dongjoon-hyun Which command have you tried? I used dependencyBrowseTree to visualize and navigate dependencies:
Screenshot 2025-10-27 at 12 41 31 PM

Note that sbt also uses the same plugin: https://github.com/sbt/sbt/blob/7b26748599e198ca461a1ee5f80712fd47255030/project/plugins.sbt#L12

@dongjoon-hyun
Copy link
Member

Ya, personally, it was very annoying to me because it launched lots of browsers continuously on my small laptop.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-54024][BUILD] Add sbt-dependency-tree to SBT plugins [SPARK-54024][BUILD] Add sbt-dependency-tree to SBT plugin Oct 27, 2025
@dongjoon-hyun
Copy link
Member

To be clear, I'm not against this PR. Simply, this PR is unable to convince me. I'll leave this to other reviewers.

@vrozov
Copy link
Member Author

vrozov commented Oct 27, 2025

Ya, personally, it was very annoying to me because it launched lots of browsers continuously on my small laptop.

I guess you used it at the root project. The proper way to invoke this plugin is by selecting project and scope (if not default). For example streaming-kinesis-asl/Test/dependencyBrowseTree.

@vrozov
Copy link
Member Author

vrozov commented Oct 27, 2025

@dongjoon-hyun What do you use to troubleshoot dependency issues in SBT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants