I meet the same problem,try the following setting:
:profiles {:provided {:dependencies [
[org.apache.hadoop/hadoop-core
"2.0.0-mr1-cdh4.4.0" :scope "runtime"]
[org.apache.hadoop/hadoop-common
"2.0.0-cdh4.4.0" :scope
> Why does AOT happen after exclusion? Shouldn't exclusion be the last
> > step in the process which would hardly break anything and would
> > eventually fix the issue?
>
> Oh, I meant this would be a problem if you used profiles for
> separating dependencies. If you use :uberjar-exclusions y
On Wed, Jun 13, 2012 at 1:52 PM, Jacek Laskowski wrote:
>> If you try to create an uberjar with AOT using a profile that excludes
>> the dependencies you don't want in your uberjar then the AOT will fail
>> because it tries to references classes that don't exist.
>
> Why does AOT happen after excl
On Wed, Jun 13, 2012 at 10:47 PM, Phil Hagelberg wrote:
> If you try to create an uberjar with AOT using a profile that excludes
> the dependencies you don't want in your uberjar then the AOT will fail
> because it tries to references classes that don't exist.
Why does AOT happen after exclusion
On Wed, Jun 13, 2012 at 1:42 PM, Jacek Laskowski wrote:
> That's the part I didn't understand. Could you elaborate what wouldn't work?
If you try to create an uberjar with AOT using a profile that excludes
the dependencies you don't want in your uberjar then the AOT will fail
because it tries to
On Wed, Jun 13, 2012 at 12:55 AM, Phil Hagelberg wrote:
> If you don't need AOT then you can include the common lib in
> dependencies in the :dev profile.
Hi Phil,
Thanks for the idea - I blogged about the solution and it worked great!
http://blog.japila.pl/2012/06/exclude-dependencies-from-ub
On Wed, Jun 13, 2012 at 1:38 AM, Warren Lynn wrote:
> If you don't need AOT then you can include the common lib in
Could :uberjar-exclusions help in any way? It's a vector of regexps to
exclude files from the uberjar. It could be a starting point to try
out.
Jacek
--
Jacek Laskowski
Functional
If you don't need AOT then you can include the common lib in
> dependencies in the :dev profile.
>
> If you need AOT then you'll have to write a plugin that works like a
> more selective variant of uberjar.
>
> -Phil
>
I do need AOT, and I am not ready yet to write any plugins. Maybe I can
On Tue, Jun 12, 2012 at 3:00 PM, Warren Lynn wrote:
> I plan to deploy the jar as a lib in another Java framework. This clojure
> .jar file depends on some common lib (API kind of thing) that will be
> included in the Java framework itself so I don't want to include another
> copy.
>
> "uberjar" m
> As the name says uberjar is what you should be able to run with no
> worries about the classpath - all deps are included in the final jar.
> Since you asked to exclude some deps, you likely run the final jar in
> a kind of managed environment. Why are there some deps not the others?
> What
On Tue, Jun 12, 2012 at 6:59 PM, Warren Lynn wrote:
> As titled, I need to exclude certain dependencies from my final .jar
> file (because those dependencies will already be there in the final
> target Java environment). How can I do that? Thank you.
I'm trying to figure out where you're heading
On Tue, Jun 12, 2012 at 9:59 AM, Warren Lynn wrote:
> As titled, I need to exclude certain dependencies from my final .jar
> file (because those dependencies will already be there in the final
> target Java environment). How can I do that? Thank you.
The uberjar task is designed to create jars me
Hi,
As titled, I need to exclude certain dependencies from my final .jar
file (because those dependencies will already be there in the final
target Java environment). How can I do that? Thank you.
PS: I am using Leinengen 2
--
You received this message because you are subscribed to the Google
G
13 matches
Mail list logo