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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.