microsoft / microsoft/component-detection

Support Maven plugin detection

Open
#1,376 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.