apache / apache/maven-site

Specification for dependency version conflict resolution

Open
#1,545 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
123
Forks
301
Avg merge
16h 59m
Merged PRs (30d)
32

Description

### Improvement proposal

Just as there is a specification for the "dependency version requirement".
https://maven.apache.org/pom.html#Dependency_Version_Requirement_Specification

There should be a specification for "dependency version conflict resolution".

For example, if I import 2 BOM files into a `dependencyManagement` section, and they both specify a version for the same dependency, then which takes priority?

This page does not answer that question
https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the linked Dependency Version Requirement Specification with the Introduction to the Dependency Mechanism guide. Investigate how overlapping BOM entries in dependencyManagement are resolved, then document the priority rule with a concrete example. Done means the published specification answers the stated conflict-resolution question unambiguously.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.