apache / apache/maven-enforcer

[MENFORCER-241] DependencyConverge - allow ignoring minor and patch level mismatches

Open
#736 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
161
Forks
180
Avg merge
1d 20m
Merged PRs (30d)
8

Description

**[Stefan Fussenegger](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sfussenegger)** opened **[MENFORCER-241](https://issues.apache.org/jira/browse/MENFORCER-241?redirect=false)** and commented

sometimes it is acceptable to allow some degree of version mismatches. For instance, if an artifact follows [semantic versioning rules](http://semver.org/) it is acceptable to allow patch level mismatches (bug fixes) or even minor level mismatches (added backward compatible functionality).

This new feature could somehow replace the current `uniqueVersions` flag which pretty much does the same thing to a lesser degree

---

**Affects:** 1.4.1

**Attachments:**
- [MENFORCER-241.patch](https://issues.apache.org/jira/secure/attachment/12766318/MENFORCER-241.patch) (_4.40 kB_)

**Issue Links:**
- [MENFORCER-360](https://issues.apache.org/jira/browse/MENFORCER-360) requireUpperBoundDeps should have option to check for same major version
(_**"is duplicated by"**_)
- [MENFORCER-360](https://issues.apache.org/jira/browse/MENFORCER-360) requireUpperBoundDeps should have option to check for same major version

**Remote Links:**
- [GitHub Pull Request #16
](https://github.com/apache/maven-enforcer/pull/16)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked GitHub Pull Request #16 and the attached MENFORCER-241.patch, then compare the proposed behavior with the current uniqueVersions flag. Done means the requested handling of minor and patch-level version mismatches is implemented and the related dependency-convergence behavior is covered by the project’s tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.