component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

feat: add a new detector `MvnPomCliComponentDetector`

Open AbhinavAbhinav11 opened this issue 2 years ago • 2 comments

This detector just finds all the .pom files and parses the dependencies (which are present similar to maven structure like ) in those files. It does a simple text parsing and does not create the dependency graph.

AbhinavAbhinav11 avatar Apr 28 '23 20:04 AbhinavAbhinav11

Thanks for the contribution! I left some feedback on your PR. We also need unit tests to verify this new detector. You can view an example here

melotic avatar Apr 28 '23 20:04 melotic

@AbhinavAbhinav11 what the need for this detector have over the MvnCliComponentDetector? The only thing I can see is the ability to get a list of direct dependencies without invoking the Maven CLI.

JamieMagee avatar May 17 '23 16:05 JamieMagee