maven-enforcer icon indicating copy to clipboard operation
maven-enforcer copied to clipboard

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

Open jira-importer opened this issue 10 years ago • 2 comments

Stefan Fussenegger opened MENFORCER-241 and commented

sometimes it is acceptable to allow some degree of version mismatches. For instance, if an artifact follows semantic versioning rules 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:

Issue Links:

  • MENFORCER-360 requireUpperBoundDeps should have option to check for same major version ("is duplicated by")
  • MENFORCER-360 requireUpperBoundDeps should have option to check for same major version

Remote Links:

jira-importer avatar Oct 13 '15 11:10 jira-importer

Stefan Fussenegger commented

added patch, see https://github.com/apache/maven-enforcer/pull/16

jira-importer avatar Oct 13 '15 12:10 jira-importer

Robert Scholte commented

This was actually duplicated by MENFORCER-360. Having the same request on different rules to get the same result is a sign for me that this should be solved in a separate rule, something like requireDependencyVersionPolicy

jira-importer avatar Jul 24 '21 14:07 jira-importer