apache / apache/maven

[MNG-6158] Duplicate transitive dependency with provided and runtime scopes

Open
#7,287 1 comment 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Stanislav Spiridonov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=foal)** opened **[MNG-6158](https://issues.apache.org/jira/browse/MNG-6158?redirect=false)** and commented

I have in project duplicate transitive dependency with **provided** and **runtime** scopes (from different direct dependencies).

Now the final scope of such dependency are resolved to **runtime**.

I sure that resolved scope should be **compile** because by **provided** scope the dependency MUST be in compile classpath and by **runtime** scope the dependency MUST be in runtime

---

**Affects:** 3.3.9

1 votes, 4 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.