Fork me on GitHub
#ring
<
2016-12-28
>
ikitommi14:12:01

lein-ring pushes it's deps first when packaging jars, so if it uses older version of ring, it overrides the project settings. 0.10.0 uses the 1.5.0 (https://github.com/weavejester/lein-ring/commit/21a99e9cabec94cfd840b0e3c8e105f87ffd7f81)

ikitommi14:12:59

So :plugins [[lein-ring "0.10.0"]] should help

seancorfield17:12:31

Does that mean you can’t use lein-ring with the 1.6 alphas?

petr.mensik19:12:52

@ikitommi Actually I am using [ring "1.5.0"] and also 0.10.0 version of the plugin so it should be fine - however result is still the same

seancorfield21:12:52

@petr.mensik with a minimal src/veit/handler.clj file to allow lein ring uberwar to run, these are the ring-related libraries that get pulled into the war file for me:

4079 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-session-timeout-0.1.0.jar
  4997 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-servlet-1.5.0.jar
  6181 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-headers-0.1.1.jar
  5370 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-ssl-0.2.1.jar
  5337 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-codec-1.0.1.jar
  5199 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-jetty-adapter-1.5.0.jar
 14322 Wed Dec 28 13:14:06 PST 2016 WEB-INF/lib/ring-middleware-format-0.5.0.jar
  6732 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-defaults-0.1.2.jar
  4969 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-1.5.0.jar
  6089 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-anti-forgery-1.0.0.jar
 29212 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-core-1.5.0.jar
 20794 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-http-response-0.8.0.jar
956459 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-swagger-ui-2.2.5-0.jar
  9549 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-devel-1.5.0.jar
 36757 Wed Dec 28 13:14:08 PST 2016 WEB-INF/lib/ring-swagger-0.22.12.jar

seancorfield21:12:24

could you run jar tvf target/veit-is.war | fgrep ring and confirm that’s what you get too?