The issue was that I hadn't removed the dependencies from the toplevel vector. Thanks to Jeremy Heiler for pointing that out.
On Wednesday, June 3, 2015 at 12:35:30 PM UTC-7, Scott Klarenbach wrote: > > I'm unable to post a new topic to the leinigen group so I thought I'd try > my luck here. > > I'd like to exclude certain dependencies from my uberjar, by using the > :provided profile, but the jars are always included. > > I've added the following to my project.clj, but the edu.stanford.nlp jars > end up in the uberjar no matter what. I've also tried with a simple > project just to exclude a few jars and that doesn't seem to work either. > Am I missing something simple? Or is there a better way to exclude large > dependencies from uberjar if the deployment environment will already have > them on the classpath? Thanks. > > :profiles {:uberjar {:aot :all} > :provided {:dependencies > [[edu.stanford.nlp/stanford-corenlp "3.4.1"] > [edu.stanford.nlp/stanford-corenlp "3.4.1" > :classifier "models"]]} > :dev {:resource-paths ["test-data"]}} > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.