I inherited a large codebase built with maven multi modules. I want to explicitly reference dependencies used in the source code itself, categorize by compile/test and delete dependencies that are not used at test/runtime.
Is there a tool/plugin that does this for me or do I need to write it myself?