Re: How to exclude compile-time dependencies from uberjar?

2015-07-02 Thread Philippe Guillebert
Hi provided dependencies should work for you, this is from my project.clj : :profiles {:provided {:dependencies [[org.apache.storm/storm-core 0.9.4]]}} On Wed, Jul 1, 2015 at 5:14 PM, Robin Heggelund Hansen skinney...@gmail.com wrote: All suggestions made the dependencies unavailable

Re: How to exclude compile-time dependencies from uberjar?

2015-07-01 Thread Robin Heggelund Hansen
All suggestions made the dependencies unavailable when running `lein uberjar` which means the project won't build :/ -- 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

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Alex Miller
You could try setting the :scope for the dependencies - I'm not sure if uberjar does the right thing there or not but seems like it should. On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen wrote: I'm trying to get the smallest uberjar as possible. Currently I have a

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Toby Crawley
If you are using Leiningen, try putting those dependencies in a :provided profile - see https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#default-profiles. I interpret that to mean they won't be included in the uberjar, but haven't tested to confirm. - Toby On Tue, Jun 30,

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Aaron Cohen
My understanding is that those dependencies should go into the dev profile, which won't be included in the uberjar. On Tue, Jun 30, 2015 at 4:56 AM, Robin Heggelund Hansen skinney...@gmail.com wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Robin Heggelund Hansen
I tried the following, but didn't seem to have any effect: [org.clojure/clojurescript 0.0-3211 :scope provided] tirsdag 30. juni 2015 16.02.50 UTC+2 skrev Alex Miller følgende: You could try setting the :scope for the dependencies - I'm not sure if uberjar does the right thing there or not