maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Olivelli (JIRA)" <>
Subject [jira] [Commented] (MENFORCER-325) Add binary compatibility check to dependencyConvergence rule
Date Fri, 22 Feb 2019 21:03:00 GMT


Enrico Olivelli commented on MENFORCER-325:

[~ccygnus] feel free to submit a patch :)

> Add binary compatibility check to dependencyConvergence rule
> ------------------------------------------------------------
>                 Key: MENFORCER-325
>                 URL:
>             Project: Maven Enforcer Plugin
>          Issue Type: New Feature
>            Reporter: Marquis Wang
>            Priority: Major
> The dependencyConvergence rule is too strict to use in practice most of the time. If
you have a project with even a medium number of dependencies, they are pretty much guaranteed
to have transitive dependencies that do not converge.
> For some very common dependencies like Guava, the maintainers of the project are very
careful to maintain binary compatibility with new releases. For these dependencies, a dependency
divergence is okay if the included node is binary compatible with all of the diverging nodes.
> For example, if you have two dependencies, one if which depends on Guava 27 and the other
depends on Guava 26, you can safely run with Guava 27 because you know that it is compatible
with 26.
> It would be really helpful if the dependencyConvergence rule were able to check for binary
compatibility and take it into account.

This message was sent by Atlassian JIRA

View raw message