apache / apache/maven-dependency-plugin
[MDEP-549] list deps with scope runtime should show provided scope as well
- Dominant language
- Java
- Stars
- 175
- Forks
- 196
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 5
Description
**[Sébastien Gandon](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sgandon)** opened **[MDEP-549](https://issues.apache.org/jira/browse/MDEP-549?redirect=false)** and commented
I am trying to get all the dependencies but the test ones.
I am using
```
mvn dependency:list -DincludeScope=runtime
```
in the doc the runtime scope includes **runtime** and **compile** scopes.
and it says the **compile** scope gives compile, provided, and
system dependencies
So I would expect the **runtime** scope would also return **provided** dependencies
---
**Affects:** 3.0.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `mvn dependency:list -DincludeScope=runtime` and compare its output with the documented scope rules in the Maven Dependency Plugin. Trace how the runtime scope is interpreted, then verify that provided dependencies are included while test dependencies remain excluded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100