[MNG-7419] Add overiding dependencies from a BOM dependencyManagement
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[zosrothko](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zosrothko)** opened **[MNG-7419](https://issues.apache.org/jira/browse/MNG-7419?redirect=false)** and commented
Hello
By looking at [MNG-5102](https://issues.apache.org/jira/browse/MNG-5102), I finally manage my BOM problem. But I need an extension that allows the imported BOM to be overriden by some new dependencies specs. As for exemple
```java
com.scort
mi
4.4.0
import
pom
foo
bar
provided
```
The use case is the case where a customer wants to integrate the com.scor:mi jars in a war to run on Tomcat for exemple, while it would like also to integrate com.scort:mi jars as a module of a JBoss server, in which case, the artifacts should be marked as provided.
---
No further details from [MNG-7419](https://issues.apache.org/jira/browse/MNG-7419?redirect=false)
Contributor guide
Research direction
Start by reviewing the referenced MNG-5102 behavior and Maven's dependencyManagement handling for imported BOMs. Confirm the desired override semantics from the example, including changing an imported dependency to provided scope; done means the use case is supported and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100