microsoft / microsoft/component-detection
Support Maven plugin detection
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 553
- Forks
- 135
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 6
Description
The [Maven detector](https://github.com/microsoft/component-detection/blob/main/docs/detectors/maven.md) states that `mvn dependency:tree` is used to resolve dependencies of a Maven project. Unfortunately, this doesn't scan Maven plugins used as part of Maven build. It's possible that plugins themselves are vulnerable as well and it'd be nice if they could be scanned too, possibly using `mvn dependency:resolve-plugins` (https://maven.apache.org/plugins/maven-dependency-plugin/resolve-plugins-mojo.html).
If this were supported, I'd consider these testing dependencies as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read docs/detectors/maven.md and inspect the detector behavior around mvn dependency:tree; compare it with the Maven dependency plugin's resolve-plugins goal. Done means Maven plugins are included in detection and the relevant testing dependencies are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100