Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Github "used by" feature for java projects

Tags:

github

I have this project hosted on Github: Fabric8 Maven Plugin Since this is a multi module project, it has got the main plugin in the plugins/ folder. If I go to insights and then dependency graph section I'm able to see correct count for the plugin usage(when I select plugin submodule): Dependency graph with submodules

Does anyone know how to configure this Used by section on github to make it read plugins/ sub module rather than parent pom? Is there any feature like this available?

like image 582
Rohan Kumar Avatar asked Sep 13 '25 08:09

Rohan Kumar


1 Answers

[UPDATE] Dec 2022

As suggested by @armandino it is now possible to change the Used by section.

Please refer to the GitHub docs and his answer.


[ORIGINAL Answer]

It seems there is no way to configure the Used by section.

According to this tweet, currently only the "alphabetically first package" in the repo get counted:

For monorepos that include multiple packages the figure is misleading—it only represents dependents of the alphabetically first package. I'd love it if monorepo owners could at least choose which package to display "used by figures for".

like image 70
Filippo Vitale Avatar answered Sep 15 '25 21:09

Filippo Vitale