You won't have to exclude something. A user of your library will just add a 
dependencyManagement section to his/her build and select there the version 
(with A or B) 
he/she wants. That will select the wanted version even if your lib is a 
transitive 
dependency.


Am Dienstag, 22. September 2020, 01:01:58 CEST schrieb Alan Snyder:


By implication, exclusions can work on versions? I have not seen any 
documentation that 
says this. Or are you talking about Gradle?






On Sep 21, 2020, at 2:19 PM, Jörg Schaible <[email protected][1]> wrote:


Using a classifier is worse, because exclusions do not work on classifiers.






--------
[1] mailto:[email protected]

Reply via email to