metosin / compojure-api

Sweet web apis with Compojure & Swagger
http://metosin.github.io/compojure-api/doc/
Eclipse Public License 1.0
1.12k stars 149 forks source link

Conflicting dependencies in 2.0.0-alpha30 #415

Closed metametadata closed 4 years ago

metametadata commented 5 years ago

Library Version

2.0.0-alpha30

Problem

lein deps :tree produces:

Possibly confusing dependencies found:
[metosin/muuntaja "0.6.4"] -> [com.cognitect/transit-clj "0.8.313"] -> [com.cognitect/transit-java "0.8.337"] -> [commons-codec "1.10"]
 overrides
[metosin/ring-swagger "0.26.2" :exclusions [joda-time]] -> [metosin/ring-http-response "0.9.1"] -> [ring/ring-core "1.7.1"] -> [ring/ring-codec "1.1.1"] -> [commons-codec "1.11"]
 and
[metosin/ring-swagger "0.26.2" :exclusions [joda-time]] -> [ring/ring-core "1.7.1"] -> [ring/ring-codec "1.1.1"] -> [commons-codec "1.11"]
 and
[metosin/ring-http-response "0.9.1" :exclusions [joda-time]] -> [ring/ring-core "1.7.1"] -> [ring/ring-codec "1.1.1"] -> [commons-codec "1.11"]

Consider using these exclusions:
[metosin/ring-swagger "0.26.2" :exclusions [commons-codec joda-time]]
[metosin/ring-http-response "0.9.1" :exclusions [commons-codec joda-time]]

Possible solution to catch conflicts in the future automatically is to add :pedantic? :abort into project.clj.

ikitommi commented 5 years ago

That would be great. And PR welcome

metametadata commented 5 years ago

Will do.

miikka commented 4 years ago

Fixed in 2.0.0-alpha31.