How to create non-uber jar?

47 views
Skip to first unread message

Steve Bitteker

unread,
Mar 14, 2016, 6:10:56 PM3/14/16
to Clojure Maven Plugin
I'm creating a shared jar, however it has all it's own deps in the JAR. This is causing conflicts when including in other projects. Is there a setting to package only the project files themselves and not all the deps too?
Thanks,
Steve

Mark Derricutt

unread,
Mar 14, 2016, 6:22:48 PM3/14/16
to Clojure Maven Plugin
You may be getting hit by the long standing clojure bug/problem when AOTing that Clojure writes ALL .class files to the target directory.

I thought we'd resolved this but it seems https://github.com/talios/clojure-maven-plugin/pull/43 is still outstanding from 2011 which makes me feel very sad. I hope to pull this in finally this week sometime ( this is the second time someone asked about this issue this week ) and get another release out.

This however isn't quite the same as an uberjar tho, so maybe you're talking about something else?

Mark


--
Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt
signature.asc
Reply all
Reply to author
Forward
0 new messages