Suppose I have the following:

    A -> B,C,D,E

    B -> F[1.1]
    C -> F[1.0.1]
    D -> F[1.2]
    E -> F[1.1]

I know of 2 ways to resolve the transitive dependency conflict:
1. Add excludes to all but 1 of A's dependencies
2. Use dependencyManagement to specify the version of F that I really want.

Which of these options is better practice?

________________________________

NOTICE: This e-mail message, together with any attachments, contains 
information of Clearwater Analytics and/or its affiliates that may be 
confidential, proprietary copyrighted and/or legally privileged, and is 
intended solely for the use of the individual or entity named on this message. 
If you are not the intended recipient, and have received this message in error, 
please immediately delete it. The information we provide is from sources 
Clearwater Analytics considers reliable, but Clearwater Analytics provides no 
warranties regarding the accuracy of the information. Further, nothing in the 
email should be construed as legal, financial, or tax advice, and any questions 
regarding the intended recipient's individual circumstances should be addressed 
to that recipient's lawyer and/or accountant.


Reply via email to